blob: aa51e3554c0d2b1850c4e5d40bc4ccf597b0eb94 (
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
|
# Maintainer: EndlessEden <eden [at] rose.place>
# Upstream Maintainer: Filipe LaĆns (FFY00) <filipe.lains@gmail.com>
pkgname="dabtools-git"
_pkgname="dabtools"
pkgver=0.01.f8003df
pkgrel=1
pkgdesc='DAB/DAB+ software for RTL-SDR dongles and the Psion Wavefinder including ETI stream recording.'
arch=('x86_64')
url="https://github.com/Opendigitalradio/$_pkgname"
license=('GPL')
depends=('rtl-sdr' 'fftw')
makedepends=('git' 'cmake')
provides=("$_pkgname" "$pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
echo $(echo 0.01).$(git rev-parse --short HEAD)
}
build() {
mkdir -p $_pkgname/build
cd $_pkgname/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $_pkgname/build
make DESTDIR="$pkgdir" install
}
|