doorlockd-mirror/arch/PKGBUILD

39 lines
752 B
Bash

# Author: Ralf Ramsauer <ralf@binary-kitchen.de>
pkgname=doorlockd
pkgver=2.1
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'
'libgpiod'
'mosquitto'
'mpg123'
'python-flask-wtf'
'python-flask-socketio'
'python-paho-mqtt'
'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
}