summaryrefslogtreecommitdiff
path: root/community/gpsmanshp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/gpsmanshp
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/gpsmanshp')
-rw-r--r--community/gpsmanshp/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/community/gpsmanshp/PKGBUILD b/community/gpsmanshp/PKGBUILD
index 36e723e7e..972e8f837 100644
--- a/community/gpsmanshp/PKGBUILD
+++ b/community/gpsmanshp/PKGBUILD
@@ -1,23 +1,25 @@
-# $Id: PKGBUILD 21514 2010-07-16 14:22:13Z tdziedzic $
+# $Id: PKGBUILD 67943 2012-03-16 11:12:57Z giovanni $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=gpsmanshp
-pkgver=1.2
-pkgrel=4
-pkgdesc='A Tcl package to read and write shapefiles'
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="A Tcl package to read and write shapefiles"
arch=('i686' 'x86_64')
-url='http://www.ncc.up.pt/gpsmanshp'
+url="http://gpsmanshp.sourceforge.net/"
license=('GPL')
-depends=('bash' 'tcl' 'shapelib')
-source=("http://www.ncc.up.pt/${pkgname}/${pkgname}_${pkgver}.tgz")
-md5sums=('b32e16afe3e306cf991ea38713fd0c9e')
+depends=('glibc' 'shapelib' 'tcl')
+source=("http://sourceforge.net/projects/${pkgname}/files/distr/${pkgname}_${pkgver}.tgz")
+md5sums=('c2876d7f67c8215b46b336b5b859d49f')
build() {
- cd ${pkgname}_${pkgver}
+ cd "${pkgname}_${pkgver}"
- mv Makefile8.4.4 Makefile
+ mv Makefile8.5 Makefile
+ sed -i -e "s:shapefil.h:libshp/shapefil.h:g" gpsmanshp.c
- mkdir -p ${pkgdir}/usr/lib/
+ install -d ${pkgdir}/usr/lib/
# set install path
sed -i -e "s|/usr/lib/tcl\$(TCLVERSION)|${pkgdir}/usr/lib/gpsmanshp|g" Makefile
@@ -29,7 +31,7 @@ build() {
}
package() {
- cd ${pkgname}_${pkgver}
+ cd "${pkgname}_${pkgver}"
make install
}