Add PKGBUILD for Arch linux

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-09-05 20:23:05 +00:00
parent 03648bf821
commit 4c7886dc61
2 changed files with 26 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
*.hex
*.elf
*.o
arch/pkg
arch/src
arch/doorlockd
arch/*.xz

22
arch/PKGBUILD Normal file
View File

@ -0,0 +1,22 @@
# 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' 'alsa-utils' 'mosquitto' 'wol' 'python-flask-wtf' 'python-flask-socketio')
source=("git+https://github.com/Binary-Kitchen/${pkgname}.git#branch=next")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname/"
make PREFIX=/usr sysconfdir=/etc
}
package() {
cd "$srcdir/$pkgname/"
make PREFIX=/usr sysconfdir=/etc DESTDIR="$pkgdir" install
}