summaryrefslogtreecommitdiff
path: root/core/which/PKGBUILD
blob: 64f240be0098aef65cf29440dfbeb9d3eb1b5dcd (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
28
29
30
31
# $Id: PKGBUILD 216932 2014-07-16 17:04:52Z seblu $
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=which
pkgver=2.20
pkgrel=7
pkgdesc='A utility to show the full path of commands'
arch=('i686' 'x86_64')
url='http://savannah.gnu.org/projects/which'
license=('GPL3')
groups=('base' 'base-devel')
depends=('glibc' 'bash')
install=which.install
source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
md5sums=('95be0501a466e515422cde4af46b2744'
         'SKIP')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

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

# vim:set ts=2 sw=2 et: