summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2015-07-05 18:18:04 -0600
committernot_anonymous2015-07-05 18:18:04 -0600
commit970c609f2ad646dc8d0f67f5cb1c2bf6ae6efc4f (patch)
treeb4864fc0c160f50a330012b55acfbd0cf889f543
downloadaur-970c609f2ad646dc8d0f67f5cb1c2bf6ae6efc4f.tar.gz
Initial import
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD67
-rw-r--r--yfktest.113
-rw-r--r--yfktest.desktop16
-rw-r--r--yfktest.install11
-rw-r--r--yfktest.pngbin0 -> 1929 bytes
6 files changed, 135 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7269aa56faf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = yfktest
+ pkgdesc = Ham Radio Contesting Logger
+ pkgver = 0.0.10
+ pkgrel = 2
+ url = http://fkurz.net/ham/yfktest.html
+ install = yfktest.install
+ arch = any
+ license = GPL
+ depends = perl-curses
+ depends = desktop-file-utils
+ depends = cty
+ depends = masterscp
+ optdepends = hamlib: rig interfacing
+ optdepends = cwdaemon: transmitting cw
+ optdepends = winkeydeamon: usb cw xmit
+ optdepends = bigcty: contest version country files
+ source = yfktest.desktop
+ source = yfktest.png
+ source = yfktest.1
+ md5sums = 9bb89d06dccd06098209c3f35cfc9997
+ md5sums = 0c5fc02db4577b3b1ffcc23e5c7a2b8e
+ md5sums = a5b6724edc0adb82e53870c81dac4281
+ sha256sums = c7f87c8c1e049277acde59db12a07ee52d2ba8757464652ddccd5d5354d20675
+ sha256sums = ae4886c24e08425d7a9d6c31290924f8b328d0b2fe59b3d0c0e94ecf4d62b039
+ sha256sums = c5018a263f314eca09561d8daa8f15b5de1b31f97811ca6d52a65b0b20e63409
+
+pkgname = yfktest
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f7cebe4f2ac
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,67 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
+# Original Submission: Bob Finch <w9ya@qrparci.net>
+
+pkgname=yfktest
+pkgver=0.0.10
+pkgrel=2
+pkgdesc="Ham Radio Contesting Logger"
+arch=('any')
+url="http://fkurz.net/ham/yfktest.html"
+license=('GPL')
+depends=('perl-curses' 'desktop-file-utils' 'cty' 'masterscp')
+optdepends=('hamlib: rig interfacing'
+ 'cwdaemon: transmitting cw'
+ 'winkeydeamon: usb cw xmit'
+ 'bigcty: contest version country files')
+install=$pkgname.install
+source=(
+#http://fkurz.net/ham/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.desktop
+ $pkgname.png
+ $pkgname.1)
+
+__svntrunk="svn://svn.fkurz.net/yfktest/"
+__svnmod=('trunk')
+__svnrev=656
+
+prepare() {
+ cd "$srcdir"
+ msg "Connecting to SVN server...."
+
+ for i in "${__svnmod[@]}"; do
+ if [[ -d "$i/.svn" ]]; then
+ (cd "$i" && svn up -r "$__svnrev")
+ else
+ svn co "$__svntrunk/$i" -r "$__svnrev"
+ fi
+ done
+
+ msg "SVN checkout done or server timeout"
+}
+
+package() {
+ cd "$srcdir/$__svnmod"
+ install -d $pkgdir/usr/share/$pkgname
+
+ cp -a * $pkgdir/usr/share/$pkgname
+ mkdir -p $pkgdir/usr/bin
+ install -D -m 755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname
+
+ mkdir -p $pkgdir/usr/share/{applications,pixmaps}
+ install -D -m 644 ../$pkgname.png $pkgdir/usr/share/pixmaps
+ install -D -m 644 ../$pkgname.desktop $pkgdir/usr/share/applications
+
+ cd "$pkgdir/usr/share/$pkgname"
+ cp -a docs/MANUAL docs/FAQ-NEW-INFO .
+ rm -rf cty.dat master.scp README* winkey* yfktest.* docs/ misc/ voice/
+ sed -i s:'.\/yfktest ':'yfktest ': subs/newcontest.pl
+ sed -i s:'.\/yfktest ':'yfktest ': yfktest
+ sed -i s:'.\/yfktest ':'yfktest ': MANUAL
+}
+md5sums=('9bb89d06dccd06098209c3f35cfc9997'
+ '0c5fc02db4577b3b1ffcc23e5c7a2b8e'
+ 'a5b6724edc0adb82e53870c81dac4281')
+sha256sums=('c7f87c8c1e049277acde59db12a07ee52d2ba8757464652ddccd5d5354d20675'
+ 'ae4886c24e08425d7a9d6c31290924f8b328d0b2fe59b3d0c0e94ecf4d62b039'
+ 'c5018a263f314eca09561d8daa8f15b5de1b31f97811ca6d52a65b0b20e63409')
diff --git a/yfktest.1 b/yfktest.1
new file mode 100644
index 00000000000..35890617fb7
--- /dev/null
+++ b/yfktest.1
@@ -0,0 +1,13 @@
+#!/bin/sh
+mkdir -p $HOME/yfktest
+cd $HOME/yfktest
+cp -ua /usr/share/yfktest/* .
+cp -ua /usr/share/cty/cty.dat .
+sed 's/\r//' /usr/share/masterscp/MASTER.SCP > master.scp
+if [ -f /usr/sbin/winkeydaemon-1.0.PE7T-2 ]; then
+ cp -ua /usr/sbin/winkeydaemon-1.0.PE7T-2 winkeydaemon.pl
+fi
+if [ ! -f ".yfktest" ]; then
+ cp -a config.yfktest.sample .yfktest
+fi
+perl yfktest $1
diff --git a/yfktest.desktop b/yfktest.desktop
new file mode 100644
index 00000000000..58ac94cef2a
--- /dev/null
+++ b/yfktest.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Name=YFKtest
+Name[en_US]=YFKtest
+Comment=Ham Radio Contest Logger
+Comment[en_US]=Ham Radio Contest Logger
+Encoding=UTF-8
+Exec=yfktest
+Icon=yfktest.png
+MimeType=text/plain
+StartupNotify=true
+Terminal=true
+TerminalOptions=
+Type=Application
+Categories=Application;HamRadio;
+X-DCOP-ServiceType=none
+X-KDE-SubstituteUID=false
diff --git a/yfktest.install b/yfktest.install
new file mode 100644
index 00000000000..2eaa60550d5
--- /dev/null
+++ b/yfktest.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
diff --git a/yfktest.png b/yfktest.png
new file mode 100644
index 00000000000..cb1d2bebba8
--- /dev/null
+++ b/yfktest.png
Binary files differ