diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-07 20:45:47 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-07-07 20:45:47 +0000 |
commit | bc948672aa80276aaf80a4271dc9cff205747841 (patch) | |
tree | 745f1fab489e80941dc33259a21e10ec241d42b3 /user/sane-airscan | |
parent | a97ad11792cac5397e33839a1a7430f748f37e20 (diff) | |
download | packages-bc948672aa80276aaf80a4271dc9cff205747841.tar.gz packages-bc948672aa80276aaf80a4271dc9cff205747841.tar.bz2 packages-bc948672aa80276aaf80a4271dc9cff205747841.tar.xz packages-bc948672aa80276aaf80a4271dc9cff205747841.zip |
user/sane-airscan: New package
Diffstat (limited to 'user/sane-airscan')
-rw-r--r-- | user/sane-airscan/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/sane-airscan/APKBUILD b/user/sane-airscan/APKBUILD new file mode 100644 index 000000000..96e74befc --- /dev/null +++ b/user/sane-airscan/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=sane-airscan +pkgver=0.99.8 +pkgrel=0 +pkgdesc="Universal scanner driver for AirScan (eSCL) scanners" +url=" " +arch="all" +license="unknown" +depends="" +makedepends="avahi-dev glib-dev libjpeg-turbo-dev libpng-dev libsoup-dev + libxml2-dev meson ninja sane-dev" +subpackages="$pkgname-doc" +source="sane-airscan-$pkgver.tar.gz::https://github.com/alexpevzner/sane-airscan/archive/$pkgver.tar.gz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install + mv "$pkgdir"/usr/etc "$pkgdir"/etc +} + +sha512sums="2828deeea31297c64b9927bb2b2b982f16a16cbb446cf2ca685b13f79cb264e94c017b8930fe04004636a6e1122f1882bd58252a3302c0a13b3fc60566072155 sane-airscan-0.99.8.tar.gz" |