summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoliathLabs2020-05-13 14:48:42 +0200
committerGoliathLabs2020-05-13 14:48:42 +0200
commit9a65e09ac540347ec9837b1d5b5d85db95abc361 (patch)
tree1cd0abd58a0d5c12e91443a4d1e364a5d388b7e1
parente5b112041d2281032fe71af7c77de56d68afd1c0 (diff)
downloadaur-9a65e09ac540347ec9837b1d5b5d85db95abc361.tar.gz
Updated: PKGBUILD
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD36
2 files changed, 35 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 004a1bf9fef..427f995998f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,22 @@
pkgbase = gzip-with-pigz-symlinks
- pkgdesc = gzip with binary symlinked to pigz
+ pkgdesc = GNU compression utility with binary symlinked to pigz
pkgver = 1.10
- pkgrel = 1
+ pkgrel = 2
url = https://www.gnu.org/software/gzip/
arch = x86_64
+ arch = i686
license = GPL3
+ depends = glibc
depends = pigz
depends = bash
depends = less
provides = gzip
conflicts = gzip
source = https://ftp.gnu.org/pub/gnu/gzip/gzip-1.10.tar.xz
- md5sums = 691b1221694c3394f1c537df4eee39d3
+ source = https://ftp.gnu.org/pub/gnu/gzip/gzip-1.10.tar.xz.sig
+ validpgpkeys = 155D3FC500C834486D1EEA677FD9FCCB000BEEEE
+ sha256sums = 8425ccac99872d544d4310305f915f5ea81e04d0f437ef1a230dc9d1c819d7c0
+ sha256sums = SKIP
pkgname = gzip-with-pigz-symlinks
diff --git a/PKGBUILD b/PKGBUILD
index dddf303381a..7c63bd5ea5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,45 @@
-# Maintainter: Árni Dagur <arnidg@protonmail.ch>
+# Maintainter: Felix Golatofski <contact@xdfr.de>
+# Contributor: Árni Dagur <arnidg@protonmail.ch>
# Adapted from original PKGBULID written by: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
pkgname=gzip-with-pigz-symlinks
+_pkgname=gzip
pkgver=1.10
-pkgrel=1
-pkgdesc='gzip with binary symlinked to pigz'
-arch=('x86_64')
+pkgrel=2
+pkgdesc='GNU compression utility with binary symlinked to pigz'
+arch=('x86_64' 'i686')
url='https://www.gnu.org/software/gzip/'
license=('GPL3')
-depends=('pigz' 'bash' 'less')
+depends=('glibc' 'pigz' 'bash' 'less')
provides=('gzip')
conflicts=('gzip')
-source=("https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz")
-md5sums=('691b1221694c3394f1c537df4eee39d3')
+validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
+source=("https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig})
+sha256sums=('8425ccac99872d544d4310305f915f5ea81e04d0f437ef1a230dc9d1c819d7c0'
+ '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 gzip-$pkgver
+ cd $_pkgname-$pkgver
./configure prefix=/usr
make
}
package() {
- cd gzip-$pkgver
+ cd $_pkgname-$pkgver
make prefix="$pkgdir"/usr install
ln -sf pigz "$pkgdir"/usr/bin/gzip