summaryrefslogtreecommitdiff
path: root/community/shapelib/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
committerroot <root@rshg054.dnsready.net>2013-05-09 00:41:55 -0700
commit648599b08776ea788a3ddb0365eb30fda03efe7b (patch)
treebe3c375c8606fce5d85bbfc9095a2489c257ec68 /community/shapelib/PKGBUILD
parentd6413cd6dac778aa64e48046ce7110000997ff61 (diff)
Thu May 9 00:41:55 PDT 2013
Diffstat (limited to 'community/shapelib/PKGBUILD')
-rw-r--r--community/shapelib/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD
index fd1dd0740..75f0ecee7 100644
--- a/community/shapelib/PKGBUILD
+++ b/community/shapelib/PKGBUILD
@@ -1,6 +1,5 @@
-# $Id: PKGBUILD 85552 2013-03-03 03:16:05Z cinelli $
-# Maintainer: Federico Cinelli <cinelli@aur.archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# $Id: PKGBUILD 90199 2013-05-08 13:40:53Z bpiotrowski $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Bob Finch <w9ya@arrl.net>
pkgname=shapelib
@@ -11,21 +10,21 @@ arch=('i686' 'x86_64')
url='http://shapelib.maptools.org/'
license=('LGPL' 'MIT')
options=('!libtool')
-source=("http://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.gz"
- "LICENSE")
+source=(http://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.gz
+ LICENSE)
sha256sums=('23d474016158ab5077db2f599527631706ba5c0dc7c4178a6a1d685bb014f68f'
'67e45b04045e27a9d6f64f92b295831b8739b32668ce497d3fa02999e349a789')
build() {
- cd "$pkgname-$pkgver"
+ cd ${pkgname}-${pkgver}
make lib
}
package() {
- cd "$pkgname-$pkgver"
+ cd ${pkgname}-${pkgver}
- install -d "$pkgdir/usr/lib" "$pkgdir/usr/include"
- make PREFIX="$pkgdir/usr lib_install"
- install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -d ${pkgdir}/usr/{lib,include}
+ make PREFIX=${pkgdir}/usr lib_install
+ install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}