mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
30 lines
700 B
Bash
30 lines
700 B
Bash
# $Id: PKGBUILD 69366 2010-02-20 11:30:24Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
pkgname=which
|
|
pkgver=2.20
|
|
pkgrel=4
|
|
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')
|
|
depends=('glibc')
|
|
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
|
|
|
|
rm -rf $pkgdir/usr/share/info/dir
|
|
}
|