path: root/PKGBUILD
diff options
Diffstat (limited to 'PKGBUILD')
1 files changed, 67 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e234f76f0be
--- /dev/null
@@ -0,0 +1,67 @@
+# Notes on Netlogger:
+# NetLogger is a shitty program.
+# It is incredibly picky about what libraries it needs to run
+# It refuses to wrok with anything except what it is distributed with.
+# It's worth noting that I don't actually use this program
+# and that I avoid nets that do, but unfortunately I do sorta need this to exist
+# I apologize for anyone who participates on a net using NetLogger.
+# To the NetLogger devs: grow up, learn security, and learn OSS.
+# Maintainer: Zeke Sonxx <>
+pkgdesc="Server-based amateur radio net logging programs"
+arch=('i686' 'x86_64')
+source=('' 'netlogger.desktop')
+ 'e5410b0ab8875791fffa0f7306d473ff')
+ '4cac720ec96ea2c6f27253b10eec43b07f21175e555e7d3716dcf71c88d9863167d89c08500e6c82d2e441839508919d0261f944a817dcb243f8f77169e28edd')
+prepare() {
+ cd "$srcdir"
+ # extract the tgz within the tgz to a directory called 'tarball' so we can work with it
+ mkdir -p "$srcdir/tarball"
+ bsdtar -x -f netlogger_${pkgver}.tgz -C tarball
+ # copy out the license file for sticking in /usr/share/licenses later
+ # (install is a cheap way of also modifying file attributes)
+ install -m777 "$srcdir/tarball/License.rtf" "$srcdir/license.rtf"
+ # get rid of the extra files
+ cd "$srcdir/tarball"
+ rm -f ClubInfoList.txt GNU_LGPL_v2.1.rtf NetLogger24to30.pdf Release_Notes.html License.rtf
+package() {
+ cd "$pkgdir"
+ mkdir -p "$pkgdir/opt/netlogger/"
+ cp -r "$srcdir/tarball/" -T "$pkgdir/opt/netlogger/"
+ install -D -m644 "${srcdir}/" "${pkgdir}/usr/bin/netlogger"
+ install -D -m644 "${srcdir}/netlogger.desktop" "${pkgdir}/usr/share/applications/netlogger.desktop"
+ install -D -m644 "${srcdir}/license.rtf" "${pkgdir}/usr/share/licenses/netlogger/license.rtf"