blob: 329822ed921de961b854319a4bafe9e3521941fe (
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
|
# $Id: PKGBUILD 11972 2010-02-24 02:57:47Z dgriffiths $
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=gpsman
pkgver=6.4
pkgrel=4
pkgdesc="GPS Manager is a graphical GPS data manager for preparing, inspectiing and editing GPS data"
arch=('i686' 'x86_64')
url="http://www.ncc.up.pt/gpsman"
license=('GPL')
depends=('tcl' 'tk')
optdepends=('gpsmanshp: shapefile support')
install=gpsman.install
source=(http://www.ncc.up.pt/gpsman/gpsmanhtml/${pkgname}-${pkgver}.tgz
'gpsman.desktop')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p ${pkgdir}/usr/{bin,share/${pkgname}}
# set path to program files
sed -i "s|set SRCDIR gmsrc|set SRCDIR /usr/share/gpsman|g" ./gpsman.tcl
install -m755 gpsman.tcl ${pkgdir}/usr/bin/gpsman.tcl
# install a gpsman launcher
install -m755 util/gpsman.sh ${pkgdir}/usr/bin/gpsman || return 1
#install program files
cp -r gmsrc/* ${pkgdir}/usr/share/gpsman/ || return 1
chmod 755 ${pkgdir}/usr/share/gpsman/*.tcl
chmod -R 755 ${pkgdir}/usr/share/gpsman/gmicons
# install some freedesktop.org compatibility
install -D -m644 ${srcdir}/${pkgname}.desktop \
${pkgdir}/usr/share/applications/${pkgname}.desktop
}
md5sums=('3a47f1953e0bad1ea3a79aba0a713f1a'
'0341f110f61e57b316fad7bee483665b')
|