summaryrefslogtreecommitdiff
path: root/community/udunits/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/udunits/PKGBUILD')
-rw-r--r--community/udunits/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/udunits/PKGBUILD b/community/udunits/PKGBUILD
index b4bdcbfe4..6e9bc02e5 100644
--- a/community/udunits/PKGBUILD
+++ b/community/udunits/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 37949 2011-01-19 05:42:10Z kchen $
+# $Id: PKGBUILD 44587 2011-04-09 04:53:44Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
pkgname=udunits
-pkgver=2.1.20
+pkgver=2.1.22
pkgrel=1
pkgdesc='A tool for calculations of physical quantities'
arch=('i686' 'x86_64')
@@ -14,14 +14,17 @@ depends=('glibc')
provides=('udunits2')
install=udunits.install
source=("ftp://ftp.unidata.ucar.edu/pub/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('e3282ad8c055dece9d48723d58d4d4c5')
+md5sums=('9a1972a1389a9a613beacd9b05aef6ed')
build() {
+ # stupid workaround for broken make install
+ install -dm755 $pkgdir/usr/share/doc/$pkgname
+
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --disable-static
make; make DESTDIR=$pkgdir install
- for x in a so so.0 so.0.0.0; do
+ for x in so so.0 so.0.1.0; do
ln -s libudunits2.$x \
$pkgdir/usr/lib/libudunits.$x
done