2018-09-05 22:23:05 +02:00
|
|
|
# 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)
|
2018-10-07 02:55:48 +02:00
|
|
|
depends=('python3'
|
|
|
|
'python-ldap'
|
2018-10-16 21:55:15 +02:00
|
|
|
'python-pip'
|
2018-10-07 02:55:48 +02:00
|
|
|
'alsa-utils'
|
|
|
|
'mosquitto'
|
|
|
|
'wol'
|
|
|
|
'python-flask-wtf'
|
|
|
|
'python-flask-socketio'
|
|
|
|
'chromium'
|
|
|
|
'xf86-video-fbdev'
|
|
|
|
'fluxbox'
|
|
|
|
'nginx'
|
|
|
|
'slim')
|
2018-10-06 21:51:37 +02:00
|
|
|
source=("git+https://github.com/Binary-Kitchen/${pkgname}.git#branch=next"
|
|
|
|
"https://www.binary-kitchen.de/static/BKCA.crt")
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'2e8b1ffabcf16e3e60cfc277b40955ae499dedcf39762efbb0512003be9db10f')
|
2018-09-05 22:23:05 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname/"
|
|
|
|
make PREFIX=/usr sysconfdir=/etc
|
2018-10-06 21:51:37 +02:00
|
|
|
cp -v ../BKCA.crt .
|
2018-09-05 22:23:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-10-06 21:51:37 +02:00
|
|
|
install=${pkgname}.install
|
2018-09-05 22:23:05 +02:00
|
|
|
cd "$srcdir/$pkgname/"
|
|
|
|
make PREFIX=/usr sysconfdir=/etc DESTDIR="$pkgdir" install
|
2018-10-06 21:51:37 +02:00
|
|
|
mkdir -p $pkgdir/etc/ca-certificates/trust-source/anchors
|
|
|
|
cp -v BKCA.crt $pkgdir/etc/ca-certificates/trust-source/anchors
|
2018-09-05 22:23:05 +02:00
|
|
|
}
|