1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
3 # Contributor: Thomas Kiss <thokis@gmail.com>
8 pkgdesc="SANE - SANE backend for AirScan (eSCL) and WSD document scanners"
9 url="https://github.com/alexpevzner/sane-airscan"
12 depends=('sane' 'avahi' 'gnutls' 'libxml2' 'libjpeg-turbo' 'libpng')
13 #makedepends=('meson')
14 optdepends=('ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections')
15 backup=(etc/sane.d/airscan.conf)
16 source=("$pkgname-$pkgver.tar.gz"::"https://github.com/alexpevzner/${pkgname}/archive/${pkgver}.tar.gz")
17 sha256sums=('0d84ca10f9e80d8f5f6bc0f30911660667b6d5b9df8d3fd45be0dcc29775aa84')
20 cd ${pkgname}-${pkgver}
25 cd ${pkgname}-${pkgver}
26 make DESTDIR="${pkgdir}" install
27 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
28 # add missing .so symlink
29 cd "${pkgdir}"/usr/lib/sane
30 ln -vsf libsane-airscan.so.1 libsane-airscan.so