summaryrefslogtreecommitdiffstats
path: root/abs/core/which/PKGBUILD
blob: 41e0b60aae55c0b47d4167a065694c87ff3eab6d (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
# $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
}