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-09-09 23:42:33 +02:00
|
|
|
depends=('python3' 'python-ldap' 'alsa-utils' 'mosquitto' 'wol' 'python-flask-wtf' 'python-flask-socketio')
|
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
|
|
|
}
|