From b4f09e0a566f01cd9a250e2f44423169c70adc94 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 7 Feb 2014 03:24:01 +0000 Subject: Fri Feb 7 03:21:50 UTC 2014 --- community/shapelib/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'community/shapelib/PKGBUILD') diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD index 26804f905..596fb3880 100644 --- a/community/shapelib/PKGBUILD +++ b/community/shapelib/PKGBUILD @@ -1,31 +1,32 @@ -# $Id: PKGBUILD 103038 2013-12-25 17:41:52Z jlichtblau $ +# $Id: PKGBUILD 105403 2014-02-06 19:27:08Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Federico Cinelli # Contributor: Bob Finch pkgname=shapelib pkgver=1.3.0 -pkgrel=4 +pkgrel=5 pkgdesc='simple C API for reading and writing ESRI Shapefiles' arch=('i686' 'x86_64') url='http://shapelib.maptools.org/' license=('LGPL' 'MIT') +options=('staticlibs') source=(http://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.gz LICENSE) sha256sums=('23d474016158ab5077db2f599527631706ba5c0dc7c4178a6a1d685bb014f68f' '67e45b04045e27a9d6f64f92b295831b8739b32668ce497d3fa02999e349a789') build() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver sed -i -e s:'-fPIC':"${CFLAGS} -fPIC": Makefile make lib } package() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver - install -dm755 "$pkgdir"/usr/{lib,include} + install -dm755 "${pkgdir}"/usr/{lib,include} # Fix the broken makefile sed -i -e s:/usr/local:${pkgdir}/usr: Makefile @@ -33,7 +34,7 @@ package() { make lib_install # Fix world readable bit not set - chmod 644 $pkgdir/usr/include/shapefil.h + chmod 644 "${pkgdir}"/usr/include/shapefil.h - install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -D -m644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE } -- cgit v1.2.3-54-g00ecf