core/which/PKGBUILD

28 lines
668 B
Bash
Raw Normal View History

2010-05-16 23:08:55 +08:00
# $Id: PKGBUILD 77838 2010-04-18 11:20:36Z allan $
2010-03-13 23:25:19 +08:00
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=which
pkgver=2.20
2010-05-16 23:08:55 +08:00
pkgrel=3
2010-03-13 23:25:19 +08:00
pkgdesc="A utility to show the full path of commands"
arch=('i686' 'x86_64')
url="http://www.xs4all.nl/~carlo17/which"
license=('GPL3')
groups=('base')
2010-05-16 23:08:55 +08:00
depends=('glibc' 'sh')
2010-03-13 23:25:19 +08:00
install=which.install
source=(http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('95be0501a466e515422cde4af46b2744')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}