diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/udunits/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/udunits/PKGBUILD')
-rw-r--r-- | community/udunits/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/udunits/PKGBUILD b/community/udunits/PKGBUILD new file mode 100644 index 000000000..b4bdcbfe4 --- /dev/null +++ b/community/udunits/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 37949 2011-01-19 05:42:10Z kchen $ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> + +pkgname=udunits +pkgver=2.1.20 +pkgrel=1 +pkgdesc='A tool for calculations of physical quantities' +arch=('i686' 'x86_64') +url='http://www.unidata.ucar.edu/software/udunits/' +license=('custom') +options=('!libtool') +depends=('glibc') +provides=('udunits2') +install=udunits.install +source=("ftp://ftp.unidata.ucar.edu/pub/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('e3282ad8c055dece9d48723d58d4d4c5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make; make DESTDIR=$pkgdir install + + for x in a so so.0 so.0.0.0; do + ln -s libudunits2.$x \ + $pkgdir/usr/lib/libudunits.$x + done + + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |