summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Heidler2015-06-08 14:26:10 +0200
committerDominik Heidler2015-06-08 14:30:51 +0200
commitea51670b180b88175b6a4ccbd48e577db4590fa4 (patch)
treeb91cd511c179df25583bf10bce64de4d2582b77d
downloadaur-ea51670b180b88175b6a4ccbd48e577db4590fa4.tar.gz
initial commit
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD40
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..22a87594422
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = afutrainer
+ pkgdesc = ham radio test trainer
+ pkgver = 3.0
+ pkgrel = 2
+ url = http://www.oliver-saal.de/software/afutrainer/
+ arch = x86_64
+ arch = i686
+ license = GPL
+ makedepends = make
+ makedepends = gcc
+ depends = qt4
+ noextract = DL_Technik_Klasse_A_2007.aqz
+ noextract = DL_Technik_Klasse_E_2007.aqz
+ noextract = DL_Betriebstechnik_und_Vorschriften_2007.aqz
+ source = http://www.oliver-saal.de/software/afutrainer/download/afutrainer-3.0-src.zip
+ source = DL_Technik_Klasse_A_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Technik%20Klasse%20A%202007.aqz
+ source = DL_Technik_Klasse_E_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Technik%20Klasse%20E%202007.aqz
+ source = DL_Betriebstechnik_und_Vorschriften_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Betriebstechnik%20und%20Vorschriften%202007.aqz
+ md5sums = a91f6cbadcac91e39ad7b2af1c0ce0e5
+ md5sums = 93cdb5502297d895eab09e34162621ed
+ md5sums = fd421cf643f3d8118cec041023492eaa
+ md5sums = fbd0d697fa7f12aa4d902a602ca55026
+
+pkgname = afutrainer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4df6881d3f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Dominik Heidler <dheidler@gmail.com>
+
+pkgname=afutrainer
+pkgver=3.0
+pkgrel=2
+pkgdesc="ham radio test trainer"
+arch=('x86_64' 'i686')
+url="http://www.oliver-saal.de/software/afutrainer/"
+license=('GPL')
+groups=()
+provides=()
+depends=('qt4')
+makedepends=('make' 'gcc')
+
+noextract=("DL_Technik_Klasse_A_2007.aqz" "DL_Technik_Klasse_E_2007.aqz" "DL_Betriebstechnik_und_Vorschriften_2007.aqz")
+source=(
+ "http://www.oliver-saal.de/software/afutrainer/download/afutrainer-$pkgver-src.zip"
+ "DL_Technik_Klasse_A_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Technik%20Klasse%20A%202007.aqz"
+ "DL_Technik_Klasse_E_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Technik%20Klasse%20E%202007.aqz"
+ "DL_Betriebstechnik_und_Vorschriften_2007.aqz::http://www.oliver-saal.de/software/afutrainer/download/DL%20Betriebstechnik%20und%20Vorschriften%202007.aqz"
+)
+md5sums=('a91f6cbadcac91e39ad7b2af1c0ce0e5'
+ '93cdb5502297d895eab09e34162621ed'
+ 'fd421cf643f3d8118cec041023492eaa'
+ 'fbd0d697fa7f12aa4d902a602ca55026')
+
+build() {
+ cd "$srcdir/afutrainer-$pkgver-src"
+ qmake-qt4
+ make SUBLIBS=-lz
+}
+
+package() {
+ cd "$srcdir"
+ mkdir -p $pkgdir/usr/share/afutrainer
+ install -m 644 *.aqz $pkgdir/usr/share/afutrainer
+ cd "$srcdir/afutrainer-$pkgver-src"
+ mkdir -p $pkgdir/usr/bin/
+ install -m 755 ./afutrainer $pkgdir/usr/bin/afutrainer
+}