[arch-commits] Commit in gzip/repos (6 files)

Allan McRae allan at nymeria.archlinux.org
Sun Jan 27 12:08:19 UTC 2013


    Date: Sunday, January 27, 2013 @ 13:08:18
  Author: allan
Revision: 176089

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gzip/repos/testing-i686/
  gzip/repos/testing-i686/PKGBUILD
    (from rev 176088, gzip/trunk/PKGBUILD)
  gzip/repos/testing-i686/gzip.install
    (from rev 176088, gzip/trunk/gzip.install)
  gzip/repos/testing-x86_64/
  gzip/repos/testing-x86_64/PKGBUILD
    (from rev 176088, gzip/trunk/PKGBUILD)
  gzip/repos/testing-x86_64/gzip.install
    (from rev 176088, gzip/trunk/gzip.install)

-----------------------------+
 testing-i686/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 testing-i686/gzip.install   |   15 +++++++++++++++
 testing-x86_64/PKGBUILD     |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/gzip.install |   15 +++++++++++++++
 4 files changed, 96 insertions(+)

Copied: gzip/repos/testing-i686/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-01-27 12:08:18 UTC (rev 176089)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.5
+pkgrel=2
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('2a431e169b6f62f7332ef6d47cc53bae'
+         '2de95937a3f65137acf9c55d4ad0447a')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make prefix=${pkgdir}/usr install
+}

Copied: gzip/repos/testing-i686/gzip.install (from rev 176088, gzip/trunk/gzip.install)
===================================================================
--- testing-i686/gzip.install	                        (rev 0)
+++ testing-i686/gzip.install	2013-01-27 12:08:18 UTC (rev 176089)
@@ -0,0 +1,15 @@
+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
+}

Copied: gzip/repos/testing-x86_64/PKGBUILD (from rev 176088, gzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-01-27 12:08:18 UTC (rev 176089)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.5
+pkgrel=2
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
+groups=('base' 'base-devel')
+depends=('glibc' 'bash')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.xz{,.sig})
+md5sums=('2a431e169b6f62f7332ef6d47cc53bae'
+         '2de95937a3f65137acf9c55d4ad0447a')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make prefix=${pkgdir}/usr install
+}

Copied: gzip/repos/testing-x86_64/gzip.install (from rev 176088, gzip/trunk/gzip.install)
===================================================================
--- testing-x86_64/gzip.install	                        (rev 0)
+++ testing-x86_64/gzip.install	2013-01-27 12:08:18 UTC (rev 176089)
@@ -0,0 +1,15 @@
+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
+}




More information about the arch-commits mailing list