blob: 82174dd00c0ac9c06bcfe82feb10cb5abb0801b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $Id: PKGBUILD 67652 2012-03-13 15:27:16Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: pfm <nl081130@yahoo.de>
pkgname=gebabbel
pkgver=0.4
pkgrel=5
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
}
|