[arch-commits] Commit in hdf5/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Thu Oct 7 12:35:31 UTC 2010
Date: Thursday, October 7, 2010 @ 08:35:31
Author: ronald
Revision: 94495
upgpkg: hdf5 1.8.5_patch1-1
bump to latest version
Modified:
hdf5/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-07 12:28:33 UTC (rev 94494)
+++ PKGBUILD 2010-10-07 12:35:31 UTC (rev 94495)
@@ -4,7 +4,7 @@
# Contributor: Tom K <tomk at runbox.com>
pkgname=hdf5
-pkgver=1.8.4_patch1
+pkgver=1.8.5_patch1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="General purpose library and file format for storing scientific data"
@@ -13,13 +13,11 @@
depends=('zlib' 'sh')
makedepends=('time')
source=(ftp://ftp.hdfgroup.org/HDF5/current/src/${pkgname}-${pkgver/_/-}.tar.bz2)
-md5sums=('b19f4dfbf654a2af3653c492fc1c7513')
options=('!libtool')
+md5sums=('27308a145e6c208d57db3f6f2634a0f6')
build() {
cd $srcdir/${pkgname}-${pkgver/_/-}
-# unset CFLAGS
-# unset CXXFLAGS
export CFLAGS="${CFLAGS/O2/O0}"
export CXXFLAGS="${CFLAGS}"
./configure --prefix=/usr --disable-static \
@@ -32,10 +30,15 @@
--with-pthread=/usr/lib/ \
--disable-sharedlib-rpath
make || return 1
- make -j1 prefix=$pkgdir/usr install || return 1
+}
- install -d -m755 $pkgdir/usr/share/licenses/${pkgname} || return 1
+package() {
+ cd $srcdir/${pkgname}-${pkgver/_/-}
+
+ make -j1 prefix=$pkgdir/usr install
+
+ install -d -m755 $pkgdir/usr/share/licenses/${pkgname}
install -m644 $srcdir/${pkgname}-${pkgver/_/-}/COPYING \
- $pkgdir/usr/share/licenses/${pkgname}/LICENSE || return 1
+ $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list