diff options
author | Carsten Feuls | 2015-06-11 08:39:46 +0200 |
---|---|---|
committer | Carsten Feuls | 2015-06-11 08:39:46 +0200 |
commit | 3c0aba98888ce21657f1f0ebfb63ef01b2a432c5 (patch) | |
tree | 553b7feb3c437340b289d47d76ae6973a1a72910 /PKGBUILD | |
download | aur-3c0aba98888ce21657f1f0ebfb63ef01b2a432c5.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7ef6b76172bf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Carsten Feuls <archlinux@carstenfeuls.de> aka DL1CAF + +pkgname=grig +pkgver=0.8.0 +pkgrel=4 +pkgdesc="Rig control (cat) program" +arch=('i686' 'x86_64' 'armv5h' 'armv6h' 'armv7h') +url="http://groundstation.sourceforge.net/grig/" +license=('GPL') +depends=('hamlib' 'gtk2') +source=("http://downloads.sourceforge.net/groundstation/${pkgname}-${pkgver}.tar.gz" + "${pkgname}.desktop" + "g_thread.patch") + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + sed -i -e "s:GtkTooltips:GtkTooltip:" src/grig-gtk-workarounds.c + sed -i -e "s:GtkTooltips:GtkTooltip:" src/rig-gui-vfo.c + sed -i -e "s:GtkTooltips:GtkTooltip:" src/rig-gui-buttons.c + sed -i -e "s:GtkTooltips:GtkTooltip:" src/rig-gui-levels.c + patch -p1 -i ${srcdir}/g_thread.patch src/main.c + LIBS=-lm ./configure --prefix=/usr + make +} + +package() { + mkdir -p ${pkgdir}/usr/share/applications + install -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + rm -r ${pkgdir}/usr/share/${pkgname} +} + +sha256sums=('d621a3400b7720d6671d18bff2e7627cc1442d58df161cc8789851300495d3f3' + 'd216d4bbc8e364a2ed3066659e694204451a7f182a9448df9acb1d8c85808c5c' + '77a25f821356528a732c08970ca05b9f556564e4517e16304fa14a172040f165') |