1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-10-31 22:47:05 +01:00
doorlockd-mirror/arch/PKGBUILD

38 lines
726 B
Bash
Raw Normal View History

# 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-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
}