Date: Sunday, February 12, 2023 @ 20:08:58
  Author: seblu
Revision: 468665

archrelease: copy trunk to testing-x86_64

Added:
  gzip/repos/testing-x86_64/
  gzip/repos/testing-x86_64/PKGBUILD
    (from rev 468664, gzip/trunk/PKGBUILD)
  gzip/repos/testing-x86_64/keys/

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 468664, 
gzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2023-02-12 20:08:58 UTC (rev 468665)
@@ -0,0 +1,46 @@
+# Maintainer: Sébastien "Seblu" Luttringer <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: judd <[email protected]>
+
+pkgname=gzip
+pkgver=1.12
+pkgrel=2
+pkgdesc='GNU compression utility'
+arch=('x86_64')
+url='https://www.gnu.org/software/gzip/'
+license=('GPL3')
+depends=('glibc' 'bash' 'less')
+validpgpkeys=('155D3FC500C834486D1EEA677FD9FCCB000BEEEE') # Jim Meyering
+source=("https://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz"{,.sig})
+sha256sums=('ce5e03e519f637e1f814011ace35c4f87b33c0bbabeec35baf5fbd3479e91956'
+            '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
+      echo "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:

Reply via email to