1 # Maintainer: Kyle Keen <keenerd@gmail.com>
6 pkgdesc="Python interface to the SANE scanner and frame grabber."
8 url="https://python-sane.readthedocs.io/en/latest/"
10 depends=('sane' 'python')
11 makedepends=('python-setuptools')
12 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-pillow/Sane/archive/v${pkgver}.tar.gz")
13 sha256sums=('a82c677e0e4caff89f1aaac4cbf2d1d4ee6cd9178b391c88857254a1e42991f8')
16 cd "${srcdir}"/Sane-${pkgver}
21 cd "${srcdir}"/Sane-${pkgver}
22 python setup.py install --root="$pkgdir" --optimize=1
23 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"