diff --git a/lfs/gzip-1.13.PKGBUILD b/lfs/gzip-1.13.PKGBUILD new file mode 100644 index 0000000..4a2f474 --- /dev/null +++ b/lfs/gzip-1.13.PKGBUILD @@ -0,0 +1,26 @@ +pkgname=gzip +pkgver=1.13 +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=("d5c9fc9441288817a4a0be2da0249e29") + +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 +}