blob: 0e48d9c34c9a2130549abfb8b4777058d0b68b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Claus Klingberg <cjk at pobox dot com>
# Contributor: vapourismo <ole at vprsm dot de>
_pkgname=knxd
pkgname='knxd-git'
pkgver=1914.r609dffd
pkgrel=1
pkgdesc='A server-daemon which provides an interface to a KNX/EIB installation'
license=('GPL')
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
conflicts=('knxd' 'eibd')
provides=('knxd')
replaces=('eibd')
depends=('fmt' 'gcc-libs' 'libev' 'libusb')
optdepends=('libsystemd')
makedepends=('git' 'libtool' 'autoconf' 'automake' 'pkgconfig')
source=("git+https://github.com/knxd/${_pkgname}.git#branch=main")
sha512sums=('SKIP')
url="https://github.com/knxd/knxd"
pkgver() {
cd "$_pkgname"
printf "%s.r%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
sh ./bootstrap.sh
./configure \
--prefix="/usr" \
--sysconfdir=/etc \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--enable-usb
make
}
package() {
backup=(etc/knxd.conf)
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir/" install
}
|