blob: 18b949ef851cfce9f430824ed49e06cfe03e467c (
plain)
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
|
# Maintainer: Francois Boulogne <fboulogne@april.org>
pkgname=python-pyinsane
pkgver=1.3.8
pkgrel=1
pkgdesc='Python implementation of the Sane API (using ctypes) and abstration layer'
arch=('any')
url='https://github.com/jflesch/pyinsane'
license=('GPL3')
depends=('libksane')
optdepends=('python-pillow')
provides=('python-pyinsane')
conflicts=('python-pyinsane')
makedepends=('python' 'python-setuptools')
source=("https://github.com/jflesch/pyinsane/archive/v${pkgver}.zip")
build() {
cd "pyinsane-${pkgver}"
python setup.py build
}
package() {
cd "pyinsane-${pkgver}"
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:ts=2:sw=2:et:
md5sums=('ac7a0b2ebc14800dc82a88bc35314069')
|