summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD50
-rw-r--r--qrq.13
-rw-r--r--qrq.desktop12
-rw-r--r--qrq.install11
5 files changed, 106 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c2588ac898
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = qrq
+ pkgdesc = CW trainer for Linux/Unix - similar to the DOS Classic RUFZ
+ pkgver = 0.3.1
+ pkgrel = 1
+ url = http://fkurz.net/ham/qrq.html
+ install = qrq.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gcc-libs
+ depends = perl
+ depends = desktop-file-utils
+ depends = alsa-oss
+ optdepends = gnuplot: to graph score vs. date
+ optdepends = perl-libwww: to upload scores 2 database
+ source = http://fkurz.net/ham/qrq/qrq-0.3.1.tar.gz
+ source = qrq.desktop
+ source = qrq.install
+ source = qrq.1
+ md5sums = 8ab3354d3c91c991db2654f8a6c766eb
+ md5sums = cded2f3c98941155a3d25166d8c2c3cd
+ md5sums = f7e1e2722c972f3420cfd69492c79073
+ md5sums = cf71bf05a420e3b541e0235e08dd2b2e
+ sha256sums = 92988a33b7eddb3941cf91a285a57f4f0872722adf003350a8afe2caf83159a1
+ sha256sums = cebb10477dabc2ea20937a1b1aafcbacc751bb9a2b62992712c473a4f737860e
+ sha256sums = f703f8de14eb277dc72cc837086fbd55f5d772049a44200686c8ae76348f6614
+ sha256sums = 034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848
+
+pkgname = qrq
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e801779a0b0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+# Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
+# Contributor: Bob Finch <w9ya@qrparci.net>
+
+pkgname=qrq
+pkgver=0.3.1
+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' 'desktop-file-utils' 'alsa-oss')
+makedepends=('gcc-libs')
+optdepends=('gnuplot: to graph score vs. date'
+ 'perl-libwww: to upload scores 2 database')
+install=qrq.install
+source=(http://fkurz.net/ham/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.desktop
+ $pkgname.install
+ $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=('8ab3354d3c91c991db2654f8a6c766eb'
+ 'cded2f3c98941155a3d25166d8c2c3cd'
+ 'f7e1e2722c972f3420cfd69492c79073'
+ 'cf71bf05a420e3b541e0235e08dd2b2e')
+sha256sums=('92988a33b7eddb3941cf91a285a57f4f0872722adf003350a8afe2caf83159a1'
+ 'cebb10477dabc2ea20937a1b1aafcbacc751bb9a2b62992712c473a4f737860e'
+ 'f703f8de14eb277dc72cc837086fbd55f5d772049a44200686c8ae76348f6614'
+ '034e9114291270b7ab3a7006f465019658d6fb505b52b6b475694e0d369fa848')
diff --git a/qrq.1 b/qrq.1
new file mode 100644
index 00000000000..6b3b6f3375a
--- /dev/null
+++ b/qrq.1
@@ -0,0 +1,3 @@
+#!/bin/sh
+aoss /usr/share/qrq/qrq
+
diff --git a/qrq.desktop b/qrq.desktop
new file mode 100644
index 00000000000..368471d3eac
--- /dev/null
+++ b/qrq.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=QRQ
+Comment=Morse Code Trainer
+Exec=qrq
+Icon=qrq
+MimeType=text/plain;
+StartupNotify=true
+Terminal=true
+Type=Application
+Categories=HamRadio;
+X-DCOP-ServiceType=none
+X-KDE-SubstituteUID=false
diff --git a/qrq.install b/qrq.install
new file mode 100644
index 00000000000..2eaa60550d5
--- /dev/null
+++ b/qrq.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}