diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-12 07:46:39 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-12 07:47:12 +0000 |
commit | d56eab4060d4bde1204805dc7fa0292751a113b2 (patch) | |
tree | 4f4322940b39e78dfcb014926fc58c6da84a6db3 /testing/simple-scan/APKBUILD | |
parent | 59d5c5c21692d8e0b1cb9543be4faae23302e08f (diff) | |
download | aports-d56eab4060d4bde1204805dc7fa0292751a113b2.tar.bz2 aports-d56eab4060d4bde1204805dc7fa0292751a113b2.tar.xz |
testing/simple-scan: new aport
Simple scanning utility
Diffstat (limited to 'testing/simple-scan/APKBUILD')
-rw-r--r-- | testing/simple-scan/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/simple-scan/APKBUILD b/testing/simple-scan/APKBUILD new file mode 100644 index 0000000000..00e840c2af --- /dev/null +++ b/testing/simple-scan/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: +pkgname=simple-scan +pkgver=3.24.1 +pkgrel=0 +pkgdesc="Simple Scan allows you to get images from a scanner" +url="https://launchpad.net/simple-scan" +arch="all" +license="GPL3" +makedepends="sane-dev dconf-dev gtk+3.0-dev colord-dev libgusb-dev vala itstool + libxml2-utils" +subpackages="$pkgname-doc" +source="https://download.gnome.org/sources/simple-scan/${pkgver%.*}/simple-scan-$pkgver.tar.xz" +builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$builddir" + # Regenerate ui.c with packagekit disabled + touch src/ui.vala +} + +build() { + cd "$builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-schemas-compile \ + --disable-packagekit + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +check() { + cd "$builddir" + make check +} + +sha512sums="9f0ced644b13dcaad4f1e23a6520b1cbe3c36d995fca4791383f959986cd396f123638a23dbd02a9511ef7e1c9c915b3a025e9b7e4de4542a4c180c4fe29e2b9 simple-scan-3.24.1.tar.xz" |