diff options
author | not_anonymous | 2017-04-03 15:36:22 -0600 |
---|---|---|
committer | not_anonymous | 2017-04-03 15:36:22 -0600 |
commit | ebcddcd95bc141c216ea5cbbe6e64fc1b573d167 (patch) | |
tree | 3464ad21cb59b18e3a2aed1cf28cff6a54b8aac6 | |
download | aur-ebcddcd95bc141c216ea5cbbe6e64fc1b573d167.tar.gz |
New package
-rw-r--r-- | .SRCINFO | 34 | ||||
-rw-r--r-- | PKGBUILD | 69 | ||||
-rw-r--r-- | diff.Makefile.am | 28 | ||||
-rw-r--r-- | xdemorse.png | bin | 0 -> 1289 bytes | |||
-rw-r--r-- | xwxapt.1 | 6 | ||||
-rw-r--r-- | xwxapt.desktop | 11 |
6 files changed, 148 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..41cb3736ca23 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = xwxapt + pkgdesc = Ham Radio - Weather Satellite APT format image decoder using X/GTK+ + pkgver = 2.9 + pkgrel = 1 + url = http://www.qsl.net/5b4az/pkg/xwxapt/xwxapt.html + arch = i686 + arch = x86_64 + license = GPL + makedepends = autoconf + makedepends = automake + makedepends = intltool + makedepends = pkg-config + depends = gtk2 + depends = alsa-lib + depends = rtl-sdr + depends = hamradio-menus + source = http://www.qsl.net/5b4az/pkg/apt/xwxapt/xwxapt-2.9.tar.bz2 + source = diff.Makefile.am + source = xwxapt.desktop + source = xwxapt.1 + source = xdemorse.png + md5sums = 06dd1b1f83b48050b54f4f06dd813cf7 + md5sums = 92f710ec367f09f7a6c4ec8f32815244 + md5sums = 5b913f35d6cad963dec99c5fc0a0d5ad + md5sums = bcd0a1d7a87a059a3d6cfb80dfad1e6f + md5sums = edcd3f301ec8ea95453d40534beb6ede + sha256sums = cf67dd4f0f1d9ce6704f7abeb9e06ac59f47d2d2dff6632c02ebe195c97a6cce + sha256sums = 24b3c907aac799ad47c71914ace7476d403f2878f9c9fcb391d701367aa1794a + sha256sums = 51671884532f68f9ededadbbdfdcd801827bc9b543ae5cb1b5c414336b7cab07 + sha256sums = 0ae51c280d2ce20849c078a3c2c6c1a14b5fb6f396054833a347109a3fd4886e + sha256sums = 857eb46c32c12333a7110fb3ea99d2246084724856638f2e04324fc2a576626d + +pkgname = xwxapt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..34cf814b7868 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,69 @@ +# Maintainer: not_anonymous <nmlibertarian@gmail.com> +# Contributor: WB2FKO <mph at sportscliche dot com> +# Original Contributor: Bob Finch <w9ya@arrl.net> + +pkgname=xwxapt +_pkgname=apt +pkgver=2.9 +pkgrel=1 +pkgdesc="Ham Radio - Weather Satellite APT format image decoder using X/GTK+" +arch=('i686' 'x86_64') +url="http://www.qsl.net/5b4az/pkg/$pkgname/$pkgname.html" +license=(GPL) +depends=('gtk2' 'alsa-lib' 'rtl-sdr' 'hamradio-menus') +makedepends=('autoconf' 'automake' 'intltool' 'pkg-config') +source=(http://www.qsl.net/5b4az/pkg/$_pkgname/$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=('06dd1b1f83b48050b54f4f06dd813cf7' + '92f710ec367f09f7a6c4ec8f32815244' + '5b913f35d6cad963dec99c5fc0a0d5ad' + 'bcd0a1d7a87a059a3d6cfb80dfad1e6f' + 'edcd3f301ec8ea95453d40534beb6ede') +sha256sums=('cf67dd4f0f1d9ce6704f7abeb9e06ac59f47d2d2dff6632c02ebe195c97a6cce' + '24b3c907aac799ad47c71914ace7476d403f2878f9c9fcb391d701367aa1794a' + '51671884532f68f9ededadbbdfdcd801827bc9b543ae5cb1b5c414336b7cab07' + '0ae51c280d2ce20849c078a3c2c6c1a14b5fb6f396054833a347109a3fd4886e' + '857eb46c32c12333a7110fb3ea99d2246084724856638f2e04324fc2a576626d') diff --git a/diff.Makefile.am b/diff.Makefile.am new file mode 100644 index 000000000000..824863e1efdf --- /dev/null +++ b/diff.Makefile.am @@ -0,0 +1,28 @@ +--- Makefile.am 2013-12-02 00:01:29.000000000 -0700 ++++ Makefile.am 2015-02-18 20:18:22.333001926 -0700 +@@ -34,6 +34,19 @@ +- 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 xwxapt/; 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 xwxapt/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/"; \ ++ cp xwxapt/$(PACKAGE)rc $(DESTDIR)/usr/share/doc/$(PACKAGE)/examples/$(PACKAGE)rc.example; \ ++ fi diff --git a/xdemorse.png b/xdemorse.png Binary files differnew file mode 100644 index 000000000000..496ea5c46758 --- /dev/null +++ b/xdemorse.png diff --git a/xwxapt.1 b/xwxapt.1 new file mode 100644 index 000000000000..d156bd108538 --- /dev/null +++ b/xwxapt.1 @@ -0,0 +1,6 @@ +#!/bin/bash +if [ ! -f ~/xwxapt/xwxaptrc ] ; then + mkdir -p ~/xwxapt + cp /usr/share/doc/xwxapt/examples/xwxaptrc.example ~/xwxapt/xwxaptrc + fi +/usr/bin/xwxapt.1 $1 diff --git a/xwxapt.desktop b/xwxapt.desktop new file mode 100644 index 000000000000..8cc499640042 --- /dev/null +++ b/xwxapt.desktop @@ -0,0 +1,11 @@ + +[Desktop Entry] +Version=1.0 +Type=Application +Name=xwxapt +Comment=Wx Satellite APT format image engine +Exec=xwxapt +Icon=xwxapt +Terminal=false +Categories=Application;HamRadio; +StartupNotify=true |