Commit 45bc7f16 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: add naps2 (eterbug #17358)

parent b7a1fdab
#!/bin/sh
PKGNAME=naps2
SUPPORTEDARCHES="x86_64 aarch64"
VERSION="$2"
DESCRIPTION="Scan documents to PDF and more, as simply as possible."
URL="https://github.com/cyanfish/naps2/releases/"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
arch=x64
;;
aarch64)
arch=arm64
;;
esac
pkgtype=$(epm print info -p)
if [ "$pkgtype" == "deb" ] || [ "$pkgtype" == "rpm" ] ; then
pkgtype="$pkgtype"
else
pkgtype="deb"
fi
PKGURL=$(eget --list --latest https://github.com/cyanfish/naps2/releases "$PKGNAME-$VERSION-linux-$arch.$pkgtype")
install_pkgurl
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common.sh
move_to_opt
add_bin_link_command
fix_desktop_file
ignore_lib_requires libmscordaccore.so
add_libs_requires
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment