blob: ee3fb8bbede877bfebecebbc4f1053b79a1b5fab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Ray0rf1re
pkgname=visagate
pkgver=0.2.4
pkgrel=1
pkgdesc="Face unlock (RGB+IR) for Logitech webcams via PAM, Howdy-style"
arch=('any')
url="https://github.com/minerofthesoal/visagate"
license=('MIT')
depends=('python' 'python-numpy' 'opencv' 'python-pam' 'v4l-utils')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'git')
options=('!strip' '!debug')
source=("git+https://github.com/minerofthesoal/visagate.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
python -m build --wheel --no-isolation --outdir "$srcdir/dist"
}
package() {
cd "$srcdir/$pkgname"
python -m installer --destdir="$pkgdir" "$srcdir"/dist/*.whl
}
|