diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:03 +0200 |
commit | 56f955aca6231693fe797de4793f77ed58ab116e (patch) | |
tree | 17daeabce98174f288bab94b47961dc9e9931e66 /libre-testing/gzip | |
parent | 75ff40baa049bae7e9270d20ef86a88b733006ab (diff) | |
download | abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.gz abslibre-56f955aca6231693fe797de4793f77ed58ab116e.tar.bz2 abslibre-56f955aca6231693fe797de4793f77ed58ab116e.zip |
Add some base packages for ppc64le
Diffstat (limited to 'libre-testing/gzip')
-rw-r--r-- | libre-testing/gzip/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/libre-testing/gzip/PKGBUILD b/libre-testing/gzip/PKGBUILD new file mode 100644 index 000000000..6af2a172e --- /dev/null +++ b/libre-testing/gzip/PKGBUILD @@ -0,0 +1,47 @@ +# Mainainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=gzip +pkgver=1.9 +pkgrel=1 +pkgdesc='GNU compression utility' +arch=(x86_64 ppc64le) +url='https://www.gnu.org/software/gzip/' +license=('GPL3') +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 $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make prefix="$pkgdir/usr" install +} + +# vim:set ts=2 sw=2 et: |