pkgname=which pkgver=2.21 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') groups=('base') depends=('glibc' 'bash') source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha256sums=(f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }