summaryrefslogtreecommitdiff
path: root/community/shapelib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/shapelib/PKGBUILD')
-rw-r--r--community/shapelib/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD
index 286a80c90..778cefa38 100644
--- a/community/shapelib/PKGBUILD
+++ b/community/shapelib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=shapelib
pkgver=1.3.0
pkgrel=3
pkgdesc='simple C API for reading and writing ESRI Shapefiles'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://shapelib.maptools.org/'
license=('LGPL' 'MIT')
source=(http://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.gz
@@ -25,6 +25,9 @@ build() {
package() {
cd "$pkgname-$pkgver"
+ # The Makefile won't install it correctly, this is easier.
+ install -D -m644 libshp.a "$pkgdir/usr/lib/libshp.a"
+ install -D -m644 shapefil.h "$pkgdir/usr/include/libshp/shapefil.h"
install -dm755 "$pkgdir"/usr/{lib,include}
# Fix the broken makefile