blob: 1694d3d0f5695c07995c6f7c91440cc72454f5ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=sane-airscan
pkgver=0.99.10
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
rm "$pkgdir"/etc/sane.d/dll.conf
}
sha512sums="7a3d98e01ad883856eb79c522aff50243b399717a6ba2db07eec66e49a83d365ad4db6d3f87718592f3b85832a2098e86ae094d9f06ed951ebc23887cddb75b7 sane-airscan-0.99.10.tar.gz"
|