[arch-commits] Commit in wcslib/trunk (PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sun Apr 21 06:02:10 UTC 2013
Date: Sunday, April 21, 2013 @ 08:02:10
Author: andrea
Revision: 183301
upgpkg: wcslib 4.17-1
Upstream release
Modified:
wcslib/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-20 23:37:12 UTC (rev 183300)
+++ PKGBUILD 2013-04-21 06:02:10 UTC (rev 183301)
@@ -2,7 +2,7 @@
# Maintainer: Your Name <youremail at domain.com>
pkgname=wcslib
-pkgver=4.16
+pkgver=4.17
pkgrel=1
pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
depends=('cfitsio')
makedepends=('gcc-fortran')
source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2")
-md5sums=('30439a0bb730ef936646d646c9f07518')
+md5sums=('81f739c84789b84626db9fe4cd866081')
build() {
cd $pkgname-$pkgver
@@ -27,11 +27,13 @@
#}
package() {
+ # Fix install on i686
+ install -d "${pkgdir}"/usr/include/${pkgname}-${pkgver}
+
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
# Fix wrong permissions
-
chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}}
}
More information about the arch-commits
mailing list