summaryrefslogtreecommitdiff
path: root/core/which/PKGBUILD
blob: 3179d2058a23b04ac4bf768ab1274bb1f24bb7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $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=5.1
pkgdesc="A utility to show the full path of commands"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xs4all.nl/~carlo17/which"
license=('GPL3')
groups=('base')
depends=('glibc' 'sh')
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
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}