diff options
author | root <root@rshg054.dnsready.net> | 2012-03-16 00:01:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-16 00:01:21 +0000 |
commit | cd326e60e1e54ebe83bd700850b313c69f419eef (patch) | |
tree | b15df594ae07c150fff4a55c0d1a01885b232dd0 /community/shapelib | |
parent | 14635ca5380a480450a66c3fcc29992d29a2bd8e (diff) |
Fri Mar 16 00:01:21 UTC 2012
Diffstat (limited to 'community/shapelib')
-rw-r--r-- | community/shapelib/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD index 7021f6efa..c421ae23a 100644 --- a/community/shapelib/PKGBUILD +++ b/community/shapelib/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 21347 2010-07-16 01:42:18Z tdziedzic $ -#Contributor: Bob Finch <w9ya@arrl.net> +# $Id: PKGBUILD 67779 2012-03-14 11:48:39Z giovanni $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Bob Finch <w9ya@arrl.net> pkgname=shapelib pkgver=1.2.10 -pkgrel=4 +pkgrel=5 pkgdesc='simple C API for reading and writing ESRI Shapefiles' arch=('i686' 'x86_64') url='http://shapelib.maptools.org/' @@ -19,9 +20,13 @@ build() { sed -i -e s:'-O2':"${CFLAGS}": Makefile make lib +} + +package() { + cd ${pkgname}-${pkgver} sed -i -e s:/usr/local:${pkgdir}/usr: Makefile sed -i -e s:/usr/bin/install:/bin/install: Makefile make lib_install - install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } |