diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:06:42 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 19:06:42 (GMT) |
commit | fb573c82b5a4a27c8b0e9fd41033463f31c4871a (patch) | |
tree | 2f992da875589ee082d4ca8b83c6f748d0ffaa69 /abs/core/which/PKGBUILD | |
parent | 338a8c75f972e9549d088e4620e8181b8f597fa5 (diff) | |
download | linhes_pkgbuild-fb573c82b5a4a27c8b0e9fd41033463f31c4871a.zip linhes_pkgbuild-fb573c82b5a4a27c8b0e9fd41033463f31c4871a.tar.gz linhes_pkgbuild-fb573c82b5a4a27c8b0e9fd41033463f31c4871a.tar.bz2 |
which 2.20
Diffstat (limited to 'abs/core/which/PKGBUILD')
-rw-r--r-- | abs/core/which/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/abs/core/which/PKGBUILD b/abs/core/which/PKGBUILD index 41e0b60..65495fe 100644 --- a/abs/core/which/PKGBUILD +++ b/abs/core/which/PKGBUILD @@ -1,24 +1,27 @@ -# $Id: PKGBUILD 12859 2008-09-22 17:33:50Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# $Id: PKGBUILD 142082 2011-11-04 23:36:20Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=which pkgver=2.20 -pkgrel=10 +pkgrel=5 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') +depends=('glibc' 'sh') +install=which.install source=(http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('95be0501a466e515422cde4af46b2744') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install + make +} - rm -f ${pkgdir}/usr/share/info/dir +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install } |