# Contributor: Alex Yam # Maintainer: Alex Yam pkgname=sane-airscan pkgver=0.99.27 pkgrel=1 pkgdesc="SANE backend for AirScan (eSCL) and WSD document scanners" url="https://github.com/alexpevzner/sane-airscan" arch="all" license="GPL-2.0-or-later" makedepends=" avahi-dev gnutls-dev libjpeg-turbo-dev libpng-dev libxml2-dev meson sane-dev " subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/alexpevzner/sane-airscan/archive/refs/tags/$pkgver.tar.gz" build() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" a35a92e26a4e3831f127e59bc520248abde8a7b304eb63ecf1d68092f51a8bc49bbc7503bead47ac84d0333d59ae0045d6d7a9f7b89d95f3ddfa2458f3781256 sane-airscan-0.99.27.tar.gz "