diff options
Diffstat (limited to 'community/shapelib/PKGBUILD')
-rw-r--r-- | community/shapelib/PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD index d3b997720..da73f52d4 100644 --- a/community/shapelib/PKGBUILD +++ b/community/shapelib/PKGBUILD @@ -7,7 +7,7 @@ pkgname=shapelib pkgver=1.3.0 pkgrel=2 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') options=('!libtool') @@ -26,6 +26,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 |