1 # Maintainer: Mike WB2FKO <mph at sportscliche dot com>
5 pkgdesc="Software defined radio (SDR)"
7 url="http://james.ahlstrom.name/quisk/"
9 depends=('python2' 'wxpython' 'fftw' 'portaudio')
10 source=(http://pypi.python.org/packages/source/q/quisk/quisk-3.5.9.tar.gz
12 md5sums=('1880135e2f0422f8fd67935235b476ed'
13 '44cddf20e06994ce3abcd4b563567ef3')
16 cd "$srcdir/$pkgname-$pkgver"
21 mkdir -p $pkgdir/opt/$pkgname
22 cd "$srcdir/$pkgname-$pkgver"
23 install -Dm644 quisk $pkgdir/opt/$pkgname/quisk
24 cp -ra *.h $pkgdir/opt/$pkgname
25 cp -ra *.c $pkgdir/opt/$pkgname
26 cp -ra *.html $pkgdir/opt/$pkgname
27 cp -ra *.py $pkgdir/opt/$pkgname
28 cp -ra *.so $pkgdir/opt/$pkgname
29 cp -ra *.txt $pkgdir/opt/$pkgname
30 mv charleston "$pkgdir/opt/$pkgname"
31 mv n2adr "$pkgdir/opt/$pkgname"
32 mv sdriqpkg "$pkgdir/opt/$pkgname"
33 mv softrock "$pkgdir/opt/$pkgname"
34 mv usb "$pkgdir/opt/$pkgname"
35 find "$pkgdir/opt/$pkgname/" -type f | xargs chmod 644
36 find "$pkgdir/opt/$pkgname/" -type d | xargs chmod 755
38 mkdir -p $pkgdir/usr/share/applications
39 # If the working directory is moved (e.g. from /opt to /home)
40 # the following .desktop file will have to be edited. Developer
41 # has not provided a launcher icon.
42 install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
43 echo -e "\n Quisk will be installed in the /opt directory of root \n"