summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornot_anonymous2017-04-03 14:54:40 -0600
committernot_anonymous2017-04-03 14:54:40 -0600
commit71b47994364067b675f7da229326cd5813a810c1 (patch)
treeb846272be8ae51b768bb62234cc052b5b02c51c3
downloadaur-71b47994364067b675f7da229326cd5813a810c1.tar.gz
New package
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD68
-rw-r--r--diff.Makefile.am30
-rw-r--r--xdemorse.pngbin0 -> 1289 bytes
-rw-r--r--xwefax.16
-rw-r--r--xwefax.desktop11
6 files changed, 148 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..73280cc4319
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,33 @@
+pkgbase = xwefax
+ pkgdesc = Ham Radio WEFAX/RadioFAX engine using X/GTK+
+ pkgver = 2.0
+ pkgrel = 1
+ url = http://www.qsl.net/5b4az/pkg/xwefax/xwefax.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = autoconf
+ makedepends = automake
+ makedepends = intltool
+ makedepends = pkg-config
+ depends = gtk2
+ depends = alsa-lib
+ depends = hamradio-menus
+ source = http://www.qsl.net/5b4az/pkg/xwefax/xwefax-2.0.tar.bz2
+ source = diff.Makefile.am
+ source = xwefax.desktop
+ source = xwefax.1
+ source = xdemorse.png
+ md5sums = 3be70ab82395c681d34c1fe50db04310
+ md5sums = 3ee17879e2235a14a70526aee4e745e1
+ md5sums = 056d9bf5d23fe76173e8729f534979ba
+ md5sums = 00c1e9a2453c691eefbae67d43d19c06
+ md5sums = edcd3f301ec8ea95453d40534beb6ede
+ sha256sums = ce6a982022fe530c0bd7051661849bb2432d2dcfb11c6c07a11d0073defeef42
+ sha256sums = 13d5c1675dad491dda181cde6f2a4e9707d65ed3c3c4d1b6a889d7bf9a0287d0
+ sha256sums = 5051c88dff458f8dd2478a93b9c2ba6e43cfcaf7ddff8103d5b18f1f9235378b
+ sha256sums = b801757d49174a42441f7eb71fbab7099fbbecc5fa9db2f92c5d18aac2f53e79
+ sha256sums = 857eb46c32c12333a7110fb3ea99d2246084724856638f2e04324fc2a576626d
+
+pkgname = xwefax
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45980083d36
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,68 @@
+# Maintainer: not_anonymous <nmlibertarian@gmail.com>
+# Contributor: WB2FKO <mph at sportscliche dot com>
+# Original Contributor: Bob Finch <w9ya@arrl.net>
+
+pkgname=xwefax
+pkgver=2.0
+pkgrel=1
+pkgdesc="Ham Radio WEFAX/RadioFAX engine using X/GTK+"
+arch=('i686' 'x86_64')
+url="http://www.qsl.net/5b4az/pkg/$pkgname/$pkgname.html"
+license=(GPL)
+depends=('gtk2' 'alsa-lib' 'hamradio-menus')
+makedepends=('autoconf' 'automake' 'intltool' 'pkg-config')
+source=(http://www.qsl.net/5b4az/pkg/$pkgname/$pkgname-$pkgver.tar.bz2
+ diff.Makefile.am
+ $pkgname.desktop
+ $pkgname.1
+ xdemorse.png
+# $pkgname.man.1.gz
+)
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+
+ patch -p0 < ../diff.Makefile.am
+}
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+# export LDFLAGS="-lm $LDFLAGS"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $srcdir/$pkgname-$pkgver
+
+# make check
+ make -i check # sadly the intl. files. are not correct (sigh)
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ mkdir -p $pkgdir/usr/share/doc/$pkgname/examples/
+ mkdir -p $pkgdir/usr/share/{applications,pixmaps}
+ make DESTDIR=$pkgdir install
+
+ mkdir -p $pkgdir/usr/bin
+ mv $pkgdir/usr/bin/$pkgname $pkgdir/usr/bin/$pkgname.1
+ install -Dm755 ../$pkgname.1 $pkgdir/usr/bin/$pkgname
+
+ install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ install -Dm644 ../xdemorse.png $pkgdir/usr/share/pixmaps/$pkgname.png
+# install -Dm644 ../$pkgname.man.1.gz $pkgdir/usr/share/man/man1/$pkgname.1.gz
+}
+md5sums=('3be70ab82395c681d34c1fe50db04310'
+ '3ee17879e2235a14a70526aee4e745e1'
+ '056d9bf5d23fe76173e8729f534979ba'
+ '00c1e9a2453c691eefbae67d43d19c06'
+ 'edcd3f301ec8ea95453d40534beb6ede')
+sha256sums=('ce6a982022fe530c0bd7051661849bb2432d2dcfb11c6c07a11d0073defeef42'
+ '13d5c1675dad491dda181cde6f2a4e9707d65ed3c3c4d1b6a889d7bf9a0287d0'
+ '5051c88dff458f8dd2478a93b9c2ba6e43cfcaf7ddff8103d5b18f1f9235378b'
+ 'b801757d49174a42441f7eb71fbab7099fbbecc5fa9db2f92c5d18aac2f53e79'
+ '857eb46c32c12333a7110fb3ea99d2246084724856638f2e04324fc2a576626d')
diff --git a/diff.Makefile.am b/diff.Makefile.am
new file mode 100644
index 00000000000..23c35c91410
--- /dev/null
+++ b/diff.Makefile.am
@@ -0,0 +1,30 @@
+--- Makefile.am 2013-12-02 00:01:29.000000000 -0700
++++ Makefile.am 2015-02-18 20:18:22.333001926 -0700
+@@ -35,6 +35,21 @@
+- if test -d $(HOME)/$(PACKAGE); then \
+- echo Working directory exists: $(HOME)/$(PACKAGE) - not copying; \
+- else \
+- echo Copying $(PACKAGE) working directory to $(HOME)/$(PACKAGE); \
+- cp -r $(srcdir)/$(PACKAGE) $(HOME); \
+- fi
++ if test -d files/; then \
++ echo "cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/"; \
++ cp files/$(PACKAGE).desktop $(DESTDIR)/usr/share/applications/; \
++ echo "cp files/$(PACKAGE).xpm $(DESTDIR)/usr/share/pixmaps/"; \
++ cp files/$(PACKAGE).xpm $(DESTDIR)/usr/share/pixmaps/; \
++ fi
++
++ if test -d xwefax/; then \
++ if !(test -d $(DESTDIR)/usr/share/doc/$(PACKAGE)); then \
++ echo "mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ echo "mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/"; \
++ mkdir $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/; \
++ fi; \
++ echo "cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ cp -r doc/* $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ echo "cp xwefax/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/"; \
++ cp xwefax/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/$(PACKAGE)rc.example; \
++ echo "cp xwefax/stations $(DESTDIR)/usr/share/doc/$(PACKAGE)/"; \
++ cp -r xwefax/stations $(DESTDIR)/usr/share/doc/$(PACKAGE)/; \
++ fi
diff --git a/xdemorse.png b/xdemorse.png
new file mode 100644
index 00000000000..496ea5c4675
--- /dev/null
+++ b/xdemorse.png
Binary files differ
diff --git a/xwefax.1 b/xwefax.1
new file mode 100644
index 00000000000..902818bd122
--- /dev/null
+++ b/xwefax.1
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ ! -f ~/xwefax/xwefaxrc ] ; then
+ mkdir -p ~/xwefax
+ cp /usr/share/doc/xwefax/examples/xwefaxrc.example ~/xwefax/xwefaxrc
+ fi
+/usr/bin/xwefax.1 $1
diff --git a/xwefax.desktop b/xwefax.desktop
new file mode 100644
index 00000000000..9ac553846ba
--- /dev/null
+++ b/xwefax.desktop
@@ -0,0 +1,11 @@
+
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=xwefax
+Comment=WEFAX/RadioFAX engine
+Exec=xwefax
+Icon=xwefax
+Terminal=false
+Categories=Application;HamRadio;
+StartupNotify=true