Name which
Description A utility to show the full path of commands
Version 2.23-1
Package Base which
Homepage https://savannah.gnu.org/projects/which/
Maintainers ['Sébastien Luttringer <seblu@archlinux.org>', 'Tobias Powalowski <tpowa@archlinux.org>']
Contributors ['Allan McRae <allan@archlinux.org>', 'Andreas Radke <andyrtr@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/which
Sources ['https://ftp.gnu.org/gnu/which/which-2.23.tar.gz']
Dependencies ['bash', 'glibc']
Optional-Dependencies []
Build-Dependencies []
Provides []
Builddate 24-02-2025 10:14:17
Architecture x86_64
Distro-Version
Licenses ['GPL-3.0-or-later']
Hash 230ef63f1e2e8aa8ede4d4cc8f62f13572b164c66e85cca3b48eb5aaf2c8e7be
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=which
pkgver=2.23
pkgrel=1
pkgdesc='A utility to show the full path of commands'
arch=('x86_64')
url='https://savannah.gnu.org/projects/which/'
license=('GPL-3.0-or-later')
depends=(
  bash
  glibc
)
# gpg key is using deprecated md5 algo, do not use
# check if a new one is issued in the next release
source=("https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
b2sums=('64a3ae1f23a4c389f945f6c0985e6f6062b46785125a0d0659ff160560a4a473633d38af71b1505beeabba8336f5a9906f1ba58ab3494635e970bd5529b3936f')

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

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

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