blob: 36f8d3c860073a1603f56a4ab6eb897ac9f3d0bc (
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
|
# Contributor: Bruno Gomes <bgomes@opens1.com>, Lucas Castro <lucas@opens1.com>
pkgname=python-pyfprint-git
pkgver=r13.9e579e2
pkgrel=1
pkgdesc="Python bindings for the libfprint fingerprinting library"
url="https://github.com/luksan/pyfprint"
arch=('i686' 'x86_64')
license=('GPL-2')
depends=('python' 'libfprint')
makedepends=('swig' 'python-setuptools')
source=("git+https://github.com/luksan/pyfprint.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/pyfprint"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/pyfprint"
python setup.py build
}
package() {
cd "${srcdir}/pyfprint"
python setup.py install --root=${pkgdir} --optimize=1
}
|