pkgname=gzip pkgver=1.14 pkgdesc='GNU compression utility' arch=('x86_64') homepage='https://www.gnu.org/software/gzip/' license=('GPL-3.0-or-later') sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}") md5sums=("4bf5a10f287501ee8e8ebe00ef62b2c2") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { ./configure --prefix=/usr make } src_check() { make check } src_install() { make DESTDIR="${pkgdir}" install }