blob: 95c048190dcce24e60578561dff34cd7b3fe9ee7 (
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
29
30
|
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
_pkgname=pyinsane
pkgname=python-pyinsane
pkgver=2.0.13
pkgrel=2
pkgdesc="Python library to access and use image scanners"
arch=(any)
url="https://gitlab.gnome.org/World/OpenPaperwork/pyinsane"
license=(GPL3)
depends=(python-pillow sane)
makedepends=(git python-setuptools)
_commit=3e509e6bdd2c07ac715cfc27946f86123744a46e # tags/2.0.13^0
source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyinsane.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/-/+/g'
}
build() {
cd $_pkgname
make
}
package() {
cd $_pkgname
python3 setup.py install --root="$pkgdir" --optimize=1
}
|