blob: 9ec0f1cea55499551e06c9ba1b7c77bc0c88c39f (
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
|
# Maintainer: Kai Muenz <kai+archlinux@muenz.net>
_pkgname=odr-radiodns-bridge
pkgname=$_pkgname-git
pkgver=0.1.r36.387721d
pkgrel=1
pkgdesc="Opendigitalradio tool to bridge RadioDNS applications into the OpenDigitalRadio environment"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/Opendigitalradio/$_pkgname"
license=('GPL')
groups=('ODR')
depends=('python-hybridspi' 'boost' 'python-pyradiodns')
checkdepends=()
optdepends=()
provides=("$_pkgname" "$pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "0.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
python setup.py build
}
package() {
cd "$_pkgname"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
mkdir -p "$pkgdir"/etc/"$_pkgname"
cp "$srcdir"/"$_pkgname"/mux.conf "$pkgdir"/etc/"$_pkgname"/mux.conf.example
}
|