From 7696628b654ee32035e1b8738576a46498f06177 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 8 Mar 2018 17:46:05 +0000 Subject: gzip: update to 1.9 --- abs/core/gzip/PKGBUILD | 47 ++++++++++++++++++++++++++++++---------------- abs/core/gzip/gzip.install | 15 --------------- 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 abs/core/gzip/gzip.install diff --git a/abs/core/gzip/PKGBUILD b/abs/core/gzip/PKGBUILD index df04137..7b85e26 100644 --- a/abs/core/gzip/PKGBUILD +++ b/abs/core/gzip/PKGBUILD @@ -1,33 +1,48 @@ -# $Id: PKGBUILD 162088 2012-06-19 15:43:54Z allan $ -# Maintainer: Allan McRae +# $Id$ +# Mainainer: Sébastien "Seblu" Luttringer +# Contributor: Allan McRae # Contributor: judd pkgname=gzip -pkgver=1.5 +pkgver=1.9 pkgrel=1 -pkgdesc="GNU compression utility" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gzip/" +pkgdesc='GNU compression utility' +arch=('x86_64') +url='https://www.gnu.org/software/gzip/' license=('GPL3') -groups=('base') -depends=('glibc' 'bash') -install=gzip.install -source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig}) -md5sums=('2a431e169b6f62f7332ef6d47cc53bae' - '2de95937a3f65137acf9c55d4ad0447a') +groups=('base' 'base-devel') +depends=('glibc' 'bash' 'less') +validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering +source=("https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig}) +md5sums=('9492c6ccb2239ff679a5475a7bb543ed' + 'SKIP') +prepare() { + cd $pkgname-$pkgver + # apply patch from the source array (should be a pacman feature) + local filename + for filename in "${source[@]}"; do + if [[ "$filename" =~ \.patch$ ]]; then + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" + fi + done + : +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver ./configure --prefix=/usr make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make prefix=${pkgdir}/usr install + cd $pkgname-$pkgver + make prefix="$pkgdir/usr" install } + +# vim:set ts=2 sw=2 et: diff --git a/abs/core/gzip/gzip.install b/abs/core/gzip/gzip.install deleted file mode 100644 index 43218d9..0000000 --- a/abs/core/gzip/gzip.install +++ /dev/null @@ -1,15 +0,0 @@ -infodir=usr/share/info - -post_install() { - [ -x usr/bin/install-info ] || return 0 - usr/bin/install-info $infodir/gzip.info.gz $infodir/dir 2> /dev/null -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - usr/bin/install-info --delete $infodir/gzip.info.gz $infodir/dir 2> /dev/null -} -- cgit v0.12