diff options
Diffstat (limited to 'abs/core-testing/which')
-rw-r--r-- | abs/core-testing/which/PKGBUILD | 24 | ||||
-rw-r--r-- | abs/core-testing/which/which.install | 20 |
2 files changed, 0 insertions, 44 deletions
diff --git a/abs/core-testing/which/PKGBUILD b/abs/core-testing/which/PKGBUILD deleted file mode 100644 index 41e0b60..0000000 --- a/abs/core-testing/which/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# $Id: PKGBUILD 12859 2008-09-22 17:33:50Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> - -pkgname=which -pkgver=2.20 -pkgrel=10 -pkgdesc="A utility to show the full path of commands" -arch=('i686' 'x86_64') -url="http://www.xs4all.nl/~carlo17/which" -license=('GPL3') -install=which.install -groups=('base') -depends=('glibc' 'texinfo') -source=(http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('95be0501a466e515422cde4af46b2744') - -build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install - - rm -f ${pkgdir}/usr/share/info/dir -} diff --git a/abs/core-testing/which/which.install b/abs/core-testing/which/which.install deleted file mode 100644 index 899bd6f..0000000 --- a/abs/core-testing/which/which.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=/usr/share/info -filelist=(which.info) - -post_install() { - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} - -# vim:set ts=2 sw=2 et: |