diff options
Diffstat (limited to 'community/udunits')
-rw-r--r-- | community/udunits/PKGBUILD | 40 | ||||
-rw-r--r-- | community/udunits/udunits.install | 26 |
2 files changed, 0 insertions, 66 deletions
diff --git a/community/udunits/PKGBUILD b/community/udunits/PKGBUILD deleted file mode 100644 index 45657589d..000000000 --- a/community/udunits/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# $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.24 -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' 'expat') -provides=('udunits2') -install=udunits.install -source=("ftp://ftp.unidata.ucar.edu/pub/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('6986545721747a51285c765644dcd9d8') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # stupid workaround for broken make install - install -dm755 "$pkgdir/usr/share/doc/$pkgname" - - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-static - 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" - done - - install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} diff --git a/community/udunits/udunits.install b/community/udunits/udunits.install deleted file mode 100644 index 1a2fbfd7b..000000000 --- a/community/udunits/udunits.install +++ /dev/null @@ -1,26 +0,0 @@ -INFO_DIR=/usr/share/info - -INFO_FILES=(udunits2.info udunits2lib.info udunits2prog.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${INFO_FILES[@]}; do install-info \ - $INFO_DIR/$file.gz $INFO_DIR/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${INFO_FILES[@]}; do - install-info --delete \ - $INFO_DIR/$file.gz $INFO_DIR/dir 2> /dev/null - done -} - -op=$1 -shift -$op $* |