summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2017-02-20 15:28:20 -0700
committernot_anonymous2017-02-20 15:28:20 -0700
commit225de8dcda48ee5b981cbc0832d75d01d8f1cade (patch)
tree3d96067779dafd6c744500e0a6532a10747fd8f1
downloadaur-flwkey.tar.gz
New package
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD56
-rw-r--r--diff.src.flwkey.cxx5
-rw-r--r--diff.src.wkey_dialog.cxx5
4 files changed, 94 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7c99c48fb5e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = flwkey
+ pkgdesc = Ham Radio / Morse Code - WinKeyer CW Interface control & logbook
+ pkgver = 1.2.3
+ pkgrel = 1
+ url = https://sourceforge.net/projects/fldigi/files/flwkey/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkg-config
+ depends = fltk
+ depends = flxmlrpc
+ optdepends = hamradio-menus: XDG compliant menuing
+ optdepends = fldigi: for digital mode interface
+ source = http://downloads.sourceforge.net/project/fldigi/flwkey/flwkey-1.2.3.tar.gz
+ source = http://downloads.sourceforge.net/project/fldigi/flwkey/flwkey-help.zip
+ source = diff.src.flwkey.cxx
+ source = diff.src.wkey_dialog.cxx
+ md5sums = f7b3fbea7bc0036648f6025cdaedb56d
+ md5sums = 48430b102ce571866f69a5b1296b9d28
+ md5sums = fe8115076b1dac1c8b0fe3e9c62cb321
+ md5sums = 30c0a404db3e620abacbf8fd77b05b9c
+ sha256sums = 7431ca23078cb13ddf566c45f79bf2b8544f2df7699f05d884829992686026bf
+ sha256sums = 9ddf00109347fe737d26a3d85929e12de658a9bb6c4ecbcb02f4f41bfa6956ab
+ sha256sums = 0785e8bdbe8b38b2b62b28ef2e016e193297eaed918d14a73474f6a6b94189d2
+ sha256sums = a4082631f552501f20e3369a13eeecd66dc96af88c162422a1142c13c5314d17
+
+pkgname = flwkey
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..231c68fa9a3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+
+pkgname=flwkey
+pkgver=1.2.3
+pkgrel=1
+pkgdesc="Ham Radio / Morse Code - WinKeyer CW Interface control & logbook"
+arch=('i686' 'x86_64')
+url="https://sourceforge.net/projects/fldigi/files/flwkey/"
+license=('GPL')
+depends=('fltk' 'flxmlrpc')
+optdepends=('hamradio-menus: XDG compliant menuing'
+ 'fldigi: for digital mode interface')
+makedepends=('pkg-config')
+source=("http://downloads.sourceforge.net/project/fldigi/$pkgname/$pkgname-$pkgver.tar.gz"
+ "http://downloads.sourceforge.net/project/fldigi/$pkgname/$pkgname-help.zip"
+# "http://downloads.sourceforge.net/project/fldigi/$pkgname/${pkgname}_manual.pdf"
+ diff.src.flwkey.cxx
+ diff.src.wkey_dialog.cxx
+ )
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver/src
+
+ patch -p0 < ../../diff.src.flwkey.cxx
+ patch -p0 < ../../diff.src.wkey_dialog.cxx
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr
+}
+
+check() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ mkdir -p $pkgdir/usr/share/doc/$pkgname
+ install -m644 ../$pkgname-help/*.* $pkgdir/usr/share/doc/$pkgname
+# install -m644 ../${pkgname}_manual.pdf $pkgdir/usr/share/doc/$pkgname
+}
+md5sums=('f7b3fbea7bc0036648f6025cdaedb56d'
+ '48430b102ce571866f69a5b1296b9d28'
+ 'fe8115076b1dac1c8b0fe3e9c62cb321'
+ '30c0a404db3e620abacbf8fd77b05b9c')
+sha256sums=('7431ca23078cb13ddf566c45f79bf2b8544f2df7699f05d884829992686026bf'
+ '9ddf00109347fe737d26a3d85929e12de658a9bb6c4ecbcb02f4f41bfa6956ab'
+ '0785e8bdbe8b38b2b62b28ef2e016e193297eaed918d14a73474f6a6b94189d2'
+ 'a4082631f552501f20e3369a13eeecd66dc96af88c162422a1142c13c5314d17')
diff --git a/diff.src.flwkey.cxx b/diff.src.flwkey.cxx
new file mode 100644
index 00000000000..dc18363d72d
--- /dev/null
+++ b/diff.src.flwkey.cxx
@@ -0,0 +1,5 @@
+--- flwkey.cxx 2015-08-12 14:57:43.000000000 -0600
++++ flwkey.cxx 2017-02-20 14:22:57.849815775 -0700
+@@ -126 +126 @@
+- visit_URL((void*)"http://www.w1hkj.com/flwkey-help/index.html");
++ visit_URL((void*)"file:///usr/share/doc/flwkey/index.html");
diff --git a/diff.src.wkey_dialog.cxx b/diff.src.wkey_dialog.cxx
new file mode 100644
index 00000000000..5b80e0a7dff
--- /dev/null
+++ b/diff.src.wkey_dialog.cxx
@@ -0,0 +1,5 @@
+--- wkey_dialogs.cxx 2016-03-23 09:39:10.000000000 -0600
++++ wkey_dialogs.cxx 2017-02-20 14:57:15.342642796 -0700
+@@ -175 +175 @@
+- {"On line help", 0, (Fl_Callback*)cb_mnu_on_line_help, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},
++ {"Off line help", 0, (Fl_Callback*)cb_mnu_on_line_help, 0, 0, FL_NORMAL_LABEL, 0, 14, 0},