blob: 043faf85eedd5b7b4e0100cf1d61b69025a0086e (
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
|
# Maintainer: Kai Muenz <kai+archlinux@muenz.net>
_pkgname=odr-dabmux
pkgname=$_pkgname-git
pkgver=4.1.0.r0.g88d3542
pkgrel=1
pkgdesc="Opendigitalradio DAB multiplexer"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/Opendigitalradio/$_pkgname"
license=('GPL-3.0-or-later')
groups=()
depends=('zeromq' 'curl' 'gcc-libs' 'glibc')
makedepends=('git' 'boost')
checkdepends=()
optdepends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
./bootstrap.sh
}
build() {
cd "$_pkgname"
./configure --prefix=/usr
make
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir/" install
}
|