diff options
author | not_anonymous | 2017-01-28 16:24:31 -0700 |
---|---|---|
committer | not_anonymous | 2017-01-28 16:24:31 -0700 |
commit | a5a55880e828fac41824a0084fa89e98ae7f6238 (patch) | |
tree | 65864dfefb075905246cf4bbd43277a451ec281a | |
download | aur-a5a55880e828fac41824a0084fa89e98ae7f6238.tar.gz |
New package
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 75 | ||||
-rw-r--r-- | diff.ax.curses.panel.h | 6 | ||||
-rw-r--r-- | tlf.1 | 8 | ||||
-rw-r--r-- | tlf.desktop | 14 | ||||
-rw-r--r-- | tlf.png | bin | 0 -> 2998 bytes |
6 files changed, 139 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8e8470991145 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = tlf-git + pkgdesc = a console mode networked logging and contest program for hamradio + pkgver = 1.2.4.5.r23.g325f223 + pkgrel = 1 + url = https://tlf.github.com/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = autoconf + makedepends = automake + makedepends = pkg-config + depends = hamlib + optdepends = cwdaemon: transmitting cw + optdepends = cty: country files + optdepends = joe: editing qsos + optdepends = xplanet: mapped qso display + provides = tlf + conflicts = tlf + source = tlf::git+https://github.com/Tlf/tlf.git#branch=master + source = diff.ax.curses.panel.h + source = tlf.desktop + source = tlf.png + source = tlf.1 + md5sums = SKIP + md5sums = 9c5d7a5ded56d42403150c91fa5f873b + md5sums = b83cca73cea288ed139993efceb245b5 + md5sums = f148583e02660cb430f638fd8f71f452 + md5sums = b706428f41d32bd5f4f6f671057638c0 + sha256sums = SKIP + sha256sums = b5a9f130e1342ba6da068320630eaaa4f5146689bd74b610608a75b7e7170c07 + sha256sums = cc7b5bcf825ea342d126a54a778c4f837ea0da4a12101383f99282041eb5d574 + sha256sums = 0ddcde4f0dfa98540d4314660108ed49bfa0bc3d8b87cb46906dfd6f12be2497 + sha256sums = 766253a6f4b1d7e0526366875a46e220d637665c3c44e551f8d3db4ed88aaf81 + +pkgname = tlf-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c5ffe59a023 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,75 @@ +# Maintainer: not_anonymous <nmlibertarian@gmail.com> +# Contributor: Bob Finch <w9ya@qrparci.net> + +pkgname=tlf-git +_pkgname=tlf +pkgver=1.2.4.5.r23.g325f223 +#.r23.g325f223 +pkgrel=1 +pkgdesc="a console mode networked logging and contest program for hamradio" +arch=('i686' 'x86_64') +url="https://tlf.github.com/" +license=('GPL') +depends=('hamlib') +makedepends=('autoconf' 'automake' 'pkg-config') +optdepends=('cwdaemon: transmitting cw' + 'cty: country files' + 'joe: editing qsos' + 'xplanet: mapped qso display') +# 'fldigi: digital modes/modem & gui/display') +# ^^^ this might *require* additions to the ./configure ... +provides=('tlf') +conflicts=('tlf') +source=("$_pkgname::git+https://github.com/Tlf/tlf.git#branch=master" +#https://github.com/Tlf/tlf/archive/$pkgname-$pkgver.tar.gz +# http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/nrau + diff.ax.curses.panel.h + $_pkgname.desktop + $_pkgname.png + $_pkgname.1) + +pkgver() { + cd $_pkgname + git describe --long --tags | sed 's/^tlf-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$srcdir/$_pkgname" + + patch -p0 < ../diff.ax.curses.panel.h +} + +build() { + cd $srcdir/$_pkgname + + autoreconf --install + ./configure --prefix=/usr --enable-hamlib + + make || return 1 +} + +package() { + cd $srcdir/$_pkgname + + make prefix=$pkgdir/usr datadir=$pkgdir/usr/share install + +# cp ../nrau $pkgdir/usr/share/$pkgname + + mkdir -p $pkgdir/usr/bin + mv $pkgdir/usr/bin/$_pkgname $pkgdir/usr/bin/$_pkgname.1 + 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 +} +md5sums=('SKIP' + '9c5d7a5ded56d42403150c91fa5f873b' + 'b83cca73cea288ed139993efceb245b5' + 'f148583e02660cb430f638fd8f71f452' + 'b706428f41d32bd5f4f6f671057638c0') +sha256sums=('SKIP' + 'b5a9f130e1342ba6da068320630eaaa4f5146689bd74b610608a75b7e7170c07' + 'cc7b5bcf825ea342d126a54a778c4f837ea0da4a12101383f99282041eb5d574' + '0ddcde4f0dfa98540d4314660108ed49bfa0bc3d8b87cb46906dfd6f12be2497' + '766253a6f4b1d7e0526366875a46e220d637665c3c44e551f8d3db4ed88aaf81') diff --git a/diff.ax.curses.panel.h b/diff.ax.curses.panel.h new file mode 100644 index 000000000000..8e97176b78f0 --- /dev/null +++ b/diff.ax.curses.panel.h @@ -0,0 +1,6 @@ +--- macros/ax_with_curses_extra.m4 2017-01-28 14:47:29.776076256 -0700 ++++ macros/ax_with_curses_extra.m4 2017-01-28 14:43:41.375965370 -0700 +@@ -214,0 +215,3 @@ ++ AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [ ++ _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6]) ++ ]) diff --git a/tlf.1 b/tlf.1 new file mode 100644 index 000000000000..2a078684f2dc --- /dev/null +++ b/tlf.1 @@ -0,0 +1,8 @@ +#!/bin/sh +mkdir -p $HOME/tlf +cd $HOME/tlf +cp -ua /usr/share/tlf/* . +if [ -f /usr/share/cty/cty.dat ]; then + cp -ua /usr/share/cty/cty.dat . +fi +exec tlf.1 diff --git a/tlf.desktop b/tlf.desktop new file mode 100644 index 000000000000..24c156f23436 --- /dev/null +++ b/tlf.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=TLF +Name[en_US]=TLF +Comment=CT Style Logging Program +Comment[en_US]=CT Style Logging Program +Encoding=UTF-8 +Exec=xterm -geometry 80x25 -fn -*-fixed-medium-r-*-*-24-*-*-*-*-*-iso8859-* tlf +Icon=tlf.png +MimeType=text/plain +StartupNotify=true +Type=Application +Categories=Application;HamRadio +X-DCOP-ServiceType=none +X-KDE-SubstituteUID=false diff --git a/tlf.png b/tlf.png Binary files differnew file mode 100644 index 000000000000..d9f43875e335 --- /dev/null +++ b/tlf.png |