summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db548f3c1ba75b7e3296d94f77142b0fc2187bef (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
# Maintainer: Liam Greenough <beacon515@gmail.com>
pkgname=qt-dab-git
pkgver=VERSION
pkgrel=1
pkgdesc="software dab decoder for use with a dabstick, airspy or sdrplay for RPI and PC"
arch=('i686' 'x86_64')
url="http://www.sdr-j.tk"
license=('GPL2')
depends=('qt5-base' 'libsndfile' 'fftw' 'portaudio' 'faad2' 'zlib' 'rtl-sdr' 'qwt' 'libsamplerate')
makedepends=('git')
provides=('qt-dab-git')
conflicts=('qt-dab' 'sdr-j-dabreciever')
source=('git+https://github.com/JvanKatwijk/qt-dab.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/qt-dab"

# Git, no tags available
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

}

build() {
	cd "$srcdir/qt-dab"
	qmake qt-dab.pro
	make
}

package() {
	cd "$srcdir/qt-dab"
}