mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 05:47:13 +08:00
37 lines
672 B
Bash
37 lines
672 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=which
|
|
pkgver=2.20
|
|
pkgrel=6
|
|
pkgdesc="A utility to show the full path of commands"
|
|
arch=('x86_64')
|
|
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
|
|
}
|
|
|
|
check() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|