PKGBUILDs/core/which/PKGBUILD

21 lines
510 B
Bash
Raw Normal View History

# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=which
pkgver=2.20
pkgrel=1
pkgdesc="A utility to show the full path of commands"
arch=('arm')
url="http://www.xs4all.nl/~carlo17/which"
license=('GPL3')
groups=('base-devel')
depends=('glibc')
source=(http://www.xs4all.nl/~carlo17/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('95be0501a466e515422cde4af46b2744')
build() {
cd $startdir/src/which-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}