OCaml 4.14.0 rebuild
[arch-packages.git] / sane-airscan / trunk / PKGBUILD
blobf488e203f8da5b70d3203a38f7d720289abe6ef2
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
3 # Contributor: Thomas Kiss <thokis@gmail.com>
5 pkgname=sane-airscan
6 pkgver=0.99.27
7 pkgrel=1
8 pkgdesc="SANE - SANE backend for AirScan (eSCL) and WSD document scanners"
9 url="https://github.com/alexpevzner/sane-airscan"
10 arch=('x86_64')
11 license=('GPL2')
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')
19 build() {
20     cd ${pkgname}-${pkgver}
21     make
24 package() {
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