summaryrefslogtreecommitdiff
path: root/community/gebabbel/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gebabbel/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gebabbel/PKGBUILD')
-rw-r--r--community/gebabbel/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/gebabbel/PKGBUILD b/community/gebabbel/PKGBUILD
new file mode 100644
index 000000000..76a1a7e8f
--- /dev/null
+++ b/community/gebabbel/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 38898 2011-02-02 23:26:37Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: pfm <nl081130@yahoo.de>
+
+pkgname=gebabbel
+pkgver=0.4
+pkgrel=4
+pkgdesc="GUI for gpsbabel"
+arch=('i686' 'x86_64')
+url="http://gebabbel.sourceforge.net/"
+license=('GPL2')
+depends=('qt' 'gpsbabel')
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Gebabbel-$pkgver-Src.tar.gz \
+ http://$pkgname.sourceforge.net/GebabbelLogo.png \
+ $pkgname.desktop \
+ $pkgname-$pkgver.patch)
+sha256sums=('dcf3543412525959eaad755673fa65412077735fec400e6e62b1bd2c94ec1adf'
+ 'ca576fb10d493e1e7a2f96e56420477a3580bfd13961a73f2c1802de14ac7b69'
+ '0b90c6443414bc85bb1abcf59d40529d29c4c1f464ef6293ebd6e3ea1aa7674f'
+ '9ec383ceb462aab1d6561bcbad506b9c75a64866a13aeecf67f64b71807f9493')
+
+build() {
+ cd ${srcdir}/Gebabbel-$pkgver
+
+ patch -Np0 -i ${srcdir}/$pkgname-$pkgver.patch
+
+ qmake
+ make
+}
+
+package() {
+ cd ${srcdir}/Gebabbel-$pkgver
+
+ install -D -m755 ${srcdir}/Gebabbel-$pkgver/bin/$pkgname \
+ ${pkgdir}/usr/bin/$pkgname
+ install -D -m644 ${srcdir}/GebabbelLogo.png \
+ ${pkgdir}/usr/share/pixmaps/$pkgname.png
+ install -D -m644 ${srcdir}/$pkgname.desktop \
+ ${pkgdir}/usr/share/applications/$pkgname.desktop
+
+#localization
+ install -d ${pkgdir}/usr/share/$pkgname/locale
+ install -t ${pkgdir}/usr/share/$pkgname/locale/ \
+ ${srcdir}/Gebabbel-$pkgver/binincludes/translations/*.qm
+}