diff options
Diffstat (limited to 'community/gpsman/PKGBUILD')
-rw-r--r-- | community/gpsman/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/gpsman/PKGBUILD b/community/gpsman/PKGBUILD new file mode 100644 index 000000000..329822ed9 --- /dev/null +++ b/community/gpsman/PKGBUILD @@ -0,0 +1,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') |