1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-06-01 06:32:34 +02:00
doorlockd-mirror/arch/PKGBUILD
Thomas Schmid 8bc75bc0f6 PKGBUILD: add missing dependency pyserial
Signed-off-by: Thomas Schmid <tom@binary-kitchen.de>
2019-06-19 00:26:51 +02:00

36 lines
707 B
Bash

# Author: Ralf Ramsauer <ralf@binary-kitchen.de>
pkgname=doorlockd
pkgver=2.0
pkgrel=1
pkgdesc="Binary Kitchen's doorlockd"
arch=('any')
url="https://github.com/Binary-Kitchen/${pkgname}"
license=(GPL)
depends=('python3'
'python-pyserial'
'python-ldap'
'python-pip'
'alsa-utils'
'mosquitto'
'python-flask-wtf'
'python-flask-socketio'
'chromium'
'xf86-video-fbdev'
'fluxbox'
'nginx'
'slim')
source=("git+https://github.com/Binary-Kitchen/${pkgname}.git#branch=next")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname/"
make
}
package() {
cd "$srcdir/$pkgname/"
make PREFIX=/usr sysconfdir=/etc package
make PREFIX=/usr sysconfdir=/etc DESTDIR="$pkgdir" install
}