blob: 32c510392e83bbe28b1ae9b363561bf026dcb77d (
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
43
44
45
46
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
# Original Contributor: Bob Finch <w9ya@qrparci.net>
pkgname=qrq
pkgver=0.3.5
pkgrel=1
pkgdesc="CW trainer for Linux/Unix - similar to the DOS Classic RUFZ"
arch=('i686' 'x86_64')
url="http://fkurz.net/ham/qrq.html"
license=('GPL')
depends=('perl' 'alsa-oss' 'hamradio-menus')
makedepends=('gcc-libs')
optdepends=('gnuplot: to graph score vs. date'
'perl-libwww: to upload scores 2 database')
source=(http://fkurz.net/ham/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.desktop
$pkgname.1)
build() {
cd $srcdir/$pkgname-$pkgver
sed -i "s|USE_PA=YES|USE_PA=NO|" Makefile
sed -i "s|OSX_BUNDLE=YES|OSX_BUNDLE=NO|" Makefile
make
}
package() {
mkdir -p $pkgdir/usr/share/{applications,pixmaps}
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir/usr install
mv $pkgdir/usr/bin/$pkgname $pkgdir/usr/share/$pkgname/$pkgname
install -D -m 755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname
install -D -m 644 $pkgname.png $pkgdir/usr/share/pixmaps
install -D -m 644 ../$pkgname.desktop $pkgdir/usr/share/applications
}
md5sums=('c9002258298bb60e934de117878ee47c'
'cded2f3c98941155a3d25166d8c2c3cd'
'cf71bf05a420e3b541e0235e08dd2b2e')
sha256sums=('3b068c960d06b254dca5a48c7813f1653fc53cb6f5ced641e007091a7ec08d4f'
'cebb10477dabc2ea20937a1b1aafcbacc751bb9a2b62992712c473a4f737860e'
'034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848')
|