26 lines
540 B
Bash
26 lines
540 B
Bash
pkgname=which
|
|
pkgver=2.23
|
|
pkgrel=1
|
|
pkgdesc='A utility to show the full path of commands'
|
|
arch=('x86_64')
|
|
homepage='https://savannah.gnu.org/projects/which/'
|
|
license=('GPL-3.0-or-later')
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
|
md5sums=("1963b85914132d78373f02a84cdb3c86")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
./configure --prefix=/usr &&
|
|
make
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
# vim:ft=sh syn=sh et sw=2:
|