blob: 38d6ac42486ef51e48795960d06457dc8d940876 (
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: Hans Kramer <kramer@b1-systems.de>
pkgname=linrad-svn
pkgver=988
pkgrel=1
pkgdesc="Software defined radio receiver for x11, latest code from sourceforge.net"
arch=('x86_64')
url="http://www.sm5bsz.com/linuxdsp/linrad.htm"
license=('custom')
depends=('portaudio' 'libxext' 'libusb-compat')
makedepends=('nasm' 'autoconf' 'svn')
provides=('linrad')
# checkout latest code
source=(svn+https://svn.code.sf.net/p/linrad/code)
sha512sums=('SKIP')
pkgver() {
cd ${srcdir}/code
svn info --show-item revision
}
prepare() {
cd "code/trunk"
./clean
autoreconf
./configure --prefix=${pkgdir} --datadir=/usr/share/${pkgname}
}
build() {
echo $PWD
cd "code/trunk"
make xlinrad64
}
package(){
install -Dm644 $srcdir/code/trunk/xlinrad64 /usr/local/bin/xlinrad64
}
# vim:set ts=2 sw=2 et:
|