diff options
author | root <root@rshg047.dnsready.net> | 2011-04-10 04:43:11 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-10 04:43:11 +0000 |
commit | 8f6922302486fa1cc1112ff8b3daddb48c3260f2 (patch) | |
tree | cdd13036f76c8a9b8efcc83bbaea166cc929a527 /community/udunits | |
parent | f87ab435eb966ec44eb006c48699e6ee90613286 (diff) |
Sun Apr 10 04:43:11 UTC 2011
Diffstat (limited to 'community/udunits')
-rw-r--r-- | community/udunits/PKGBUILD | 13 |
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 |