1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00
doorlockd-mirror/arch/PKGBUILD
Ralf Ramsauer 8b49549876 PKGBUILD: add more dependencies
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-07 02:56:30 +02:00

40 lines
977 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-ldap'
'alsa-utils'
'mosquitto'
'wol'
'python-flask-wtf'
'python-flask-socketio'
'chromium'
'xf86-video-fbdev'
'fluxbox'
'nginx'
'slim')
source=("git+https://github.com/Binary-Kitchen/${pkgname}.git#branch=next"
"https://www.binary-kitchen.de/static/BKCA.crt")
sha256sums=('SKIP'
'2e8b1ffabcf16e3e60cfc277b40955ae499dedcf39762efbb0512003be9db10f')
build() {
cd "$srcdir/$pkgname/"
make PREFIX=/usr sysconfdir=/etc
cp -v ../BKCA.crt .
}
package() {
install=${pkgname}.install
cd "$srcdir/$pkgname/"
make PREFIX=/usr sysconfdir=/etc DESTDIR="$pkgdir" install
mkdir -p $pkgdir/etc/ca-certificates/trust-source/anchors
cp -v BKCA.crt $pkgdir/etc/ca-certificates/trust-source/anchors
}