diff options
-rw-r--r-- | .SRCINFO | 40 | ||||
-rw-r--r-- | PKGBUILD | 70 | ||||
-rw-r--r-- | diff.Makefile | 28 | ||||
-rw-r--r-- | output.fix | 12 | ||||
-rw-r--r-- | yfklog.desktop | 7 | ||||
-rw-r--r-- | yfklog.png | bin | 0 -> 1495 bytes |
6 files changed, 157 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9e191a188414 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,40 @@ +pkgbase = yfklog-git + pkgdesc = Yet Another Ham Radio Logbook - w/ LoTW & Ncurses based + pkgver = r112.7e14078 + pkgrel = 1 + url = http://fkurz.net/ham/yfklog.html + arch = any + license = GPL + license = FDL + depends = xfce4-terminal + depends = texlive-core + depends = cty + depends = perl-curses + depends = perl-dbd-sqlite + depends = perl-io-socket-timeout + depends = perl-net-telnet + depends = perl-libwww + depends = hamradio-menus + optdepends = hamlib: for rig control + optdepends = trustedqsl: for LOTW support + optdepends = xplanet: for ploted output + optdepends = fldigi: for digital mode interface + provides = yfklog + conflicts = yfklog + source = yfklog::git+https://github.com/dj1yfk/yfklog#branch=develop + source = yfklog.desktop + source = yfklog.png + source = diff.Makefile + source = output.fix + md5sums = SKIP + md5sums = d171a1a978e2ad4038de504b8767039d + md5sums = 90b9267746f9b1f1ecd6842e5a308a28 + md5sums = 9dd16a491c0c2b0ec0d6cd9b01fde231 + md5sums = 9b0b0ed8e0c478d70115af6eb5b5574e + sha256sums = SKIP + sha256sums = b86742fd763c22fea547bc4c9c11c9a87c148f5f582a07f5a4025e8258826ae4 + sha256sums = e54bf52aa79ac2a90b8a901d9eea37c04b4a5895daee4736dde65110abb7d49d + sha256sums = b1f3da31f7ebd05f23d5cb8499add2ec109de3fcd375da6e7b0c20d7736c2386 + sha256sums = 92499ca287891aa2da21f486e170f4a2f15dd7eb7c4d9cd9801bfafd682367d5 + +pkgname = yfklog-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a550e1b05a6f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,70 @@ +# Maintainer: not_anonymous <nmlibertarian@gmail.com> +# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua +# PKGBUILD based off of yfklog; +# Original Submitter: Bob Finch <w9ya@qrpqrci.net> + +pkgname=yfklog-git +pkgver=r112.7e14078 +#r112.7e14078 +pkgrel=1 +_author=dj1yfk +_pkgname=yfklog +pkgdesc="Yet Another Ham Radio Logbook - w/ LoTW & Ncurses based" +arch=('any') +url="http://fkurz.net/ham/yfklog.html" +license=('GPL' 'FDL') +depends=('xfce4-terminal' 'texlive-core' 'cty' 'perl-curses' 'perl-dbd-sqlite' \ + 'perl-io-socket-timeout' 'perl-net-telnet' 'perl-libwww' 'hamradio-menus') +optdepends=('hamlib: for rig control' + 'trustedqsl: for LOTW support' + 'xplanet: for ploted output' + 'fldigi: for digital mode interface') +provides=('yfklog') +conflicts=('yfklog') +source=("$_pkgname::git+https://github.com/$_author/$_pkgname#branch=develop" + $_pkgname.desktop + $_pkgname.png + diff.Makefile + output.fix) + +pkgver() { + cd $srcdir/$_pkgname + + printf "r%s.%s" "$(git rev-list --count HEAD)"\ + "$(git rev-parse --short HEAD)" +} + +prepare () { + cd $srcdir/$_pkgname + + patch -p0 < ../diff.Makefile + patch -p0 < ../output.fix + + sed -i s:'yfklog/cty.dat':'cty/cty.dat': yfksubs.pl +} + +package() { + cd $srcdir/$_pkgname + + mkdir -p $pkgdir/usr/share/$_pkgname/docs + + make DESTDIR=$pkgdir/usr install || return 1 + rm $pkgdir/usr/share/$_pkgname/cty.dat + + install -m644 CHANGELOG $pkgdir/usr/share/$_pkgname/docs/ + + mkdir -p $pkgdir/usr/share/{pixmaps,applications} + + install -m644 ../*.desktop $pkgdir/usr/share/applications/ + install -m644 ../*.png $pkgdir/usr/share/pixmaps +} +md5sums=('SKIP' + 'd171a1a978e2ad4038de504b8767039d' + '90b9267746f9b1f1ecd6842e5a308a28' + '9dd16a491c0c2b0ec0d6cd9b01fde231' + '9b0b0ed8e0c478d70115af6eb5b5574e') +sha256sums=('SKIP' + 'b86742fd763c22fea547bc4c9c11c9a87c148f5f582a07f5a4025e8258826ae4' + 'e54bf52aa79ac2a90b8a901d9eea37c04b4a5895daee4736dde65110abb7d49d' + 'b1f3da31f7ebd05f23d5cb8499add2ec109de3fcd375da6e7b0c20d7736c2386' + '92499ca287891aa2da21f486e170f4a2f15dd7eb7c4d9cd9801bfafd682367d5') diff --git a/diff.Makefile b/diff.Makefile new file mode 100644 index 000000000000..99759b105951 --- /dev/null +++ b/diff.Makefile @@ -0,0 +1,28 @@ +--- Makefile 2019-08-02 14:19:09.000000000 -0600 ++++ Makefile 2019-08-25 14:15:21.372601889 -0600 +@@ -6,23 +6,19 @@ + @echo "Nothing to do. make install|uninstall|clean|dist [DESTDIR=/usr]" + + install: +- sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfksubs.pl > yfksubs2.pl +- sed 's^prefix="/usr"^prefix="$(DESTDIR)"^g' yfk > yfk2 + chmod 0755 yfk + install -d $(DESTDIR)/share/yfklog/ + install -d $(DESTDIR)/share/doc/yfklog/doc/ + install -d $(DESTDIR)/share/yfklog/labels/ + install -d $(DESTDIR)/bin/ +- install -m 0755 yfk2 $(DESTDIR)/bin/yfk +- install -m 0444 yfksubs2.pl $(DESTDIR)/share/yfklog/yfksubs.pl ++ install -m 0755 yfk $(DESTDIR)/bin/yfk ++ install -m 0444 yfksubs.pl $(DESTDIR)/share/yfklog/yfksubs.pl + install -m 0444 db_* $(DESTDIR)/share/yfklog/ + install -m 0444 cty.dat $(DESTDIR)/share/yfklog/ + install -m 0444 config $(DESTDIR)/share/yfklog/ + install -m 0444 p.png $(DESTDIR)/share/yfklog/ + install -m 0444 *.lab $(DESTDIR)/share/yfklog/labels/ + install -m 0444 doc/* $(DESTDIR)/share/doc/yfklog/doc/ +- rm -f yfksubs2.pl +- rm -f yfk2 + + uninstall: + rm -f $(DESTDIR)/bin/yfk diff --git a/output.fix b/output.fix new file mode 100644 index 000000000000..6cf02186f87b --- /dev/null +++ b/output.fix @@ -0,0 +1,12 @@ +--- yfksubs.pl 2019-08-02 14:19:09.000000000 -0600 ++++ yfksubs.pl 2019-08-25 14:24:01.279044593 -0600 +@@ -5542,7 +5542,8 @@ + printw "Updated DB to 0.3.5.\n"; + } + +-printw "All up to date!\n\nPress any key to continue.\n"; ++printw "All up to date!\n\n ++Press any key to continue.\n"; + refresh(); + + } diff --git a/yfklog.desktop b/yfklog.desktop new file mode 100644 index 000000000000..c9f06622d7f6 --- /dev/null +++ b/yfklog.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=YFKLog +Comment=Full Featured QSO Logger +Exec=xfce4-terminal --geometry 80x25 -x yfk +Icon=yfklog +Type=Application +Categories=HamRadio; diff --git a/yfklog.png b/yfklog.png Binary files differnew file mode 100644 index 000000000000..53520cabd10b --- /dev/null +++ b/yfklog.png |