diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
commit | 258bafde6bf3c83e4108230457073e8136719a73 (patch) | |
tree | a6132a3a8316be50ff77e3cfcf5c41f94747bd2c /community/udunits | |
parent | 9b703cb6980ff009ca181cecd900cb2e78f5d54e (diff) | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/pigeonhole/PKGBUILD
community/pv/PKGBUILD
community/python-gnupginterface/PKGBUILD
community/tdl/PKGBUILD
extra/clisp/PKGBUILD
extra/expect/PKGBUILD
extra/gtkpod/PKGBUILD
extra/hspell/PKGBUILD
extra/id3lib/PKGBUILD
extra/imake/PKGBUILD
extra/libfontenc/PKGBUILD
extra/libice/PKGBUILD
extra/libsm/PKGBUILD
extra/libspectre/PKGBUILD
extra/libtasn1/PKGBUILD
extra/libxau/PKGBUILD
extra/libxaw/PKGBUILD
extra/libxxf86dga/PKGBUILD
extra/mp3splt/PKGBUILD
extra/multitail/PKGBUILD
extra/nss_ldap/PKGBUILD
extra/pam_ldap/PKGBUILD
extra/recode/PKGBUILD
extra/ruby/PKGBUILD
extra/squid/PKGBUILD
extra/ssmtp/PKGBUILD
extra/umfpack/PKGBUILD
extra/xorg-xbacklight/PKGBUILD
extra/xorg-xbiff/PKGBUILD
extra/xorg-xcalc/PKGBUILD
extra/xorg-xconsole/PKGBUILD
extra/xorg-xedit/PKGBUILD
extra/xorg-xeyes/PKGBUILD
extra/xorg-xvinfo/PKGBUILD
Diffstat (limited to 'community/udunits')
-rw-r--r-- | community/udunits/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/community/udunits/PKGBUILD b/community/udunits/PKGBUILD index 782e4fd24..edf46032f 100644 --- a/community/udunits/PKGBUILD +++ b/community/udunits/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 44910 2011-04-12 18:07:39Z kchen $ +# $Id: PKGBUILD 66543 2012-02-26 00:22:29Z lfleischer $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Anton Bazhenov <anton.bazhenov at gmail> pkgname=udunits -pkgver=2.1.22 -pkgrel=2 +pkgver=2.1.24 +pkgrel=1 pkgdesc='A tool for calculations of physical quantities' arch=('i686' 'x86_64' 'mips64el') url='http://www.unidata.ucar.edu/software/udunits/' @@ -14,20 +14,27 @@ depends=('glibc' 'expat') provides=('udunits2') install=udunits.install source=("ftp://ftp.unidata.ucar.edu/pub/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('9a1972a1389a9a613beacd9b05aef6ed') +md5sums=('6986545721747a51285c765644dcd9d8') build() { + cd "$srcdir/$pkgname-$pkgver" + # stupid workaround for broken make install - install -dm755 $pkgdir/usr/share/doc/$pkgname + install -dm755 "$pkgdir/usr/share/doc/$pkgname" cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --disable-static - make; make DESTDIR=$pkgdir install + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install for x in so so.0 so.0.1.0; do - ln -s libudunits2.$x \ - $pkgdir/usr/lib/libudunits.$x + ln -s "libudunits2.$x" "$pkgdir/usr/lib/libudunits.$x" done - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |