[arch-commits] Commit in gzip/repos (6 files)
Allan McRae
allan at archlinux.org
Sun Jun 17 23:21:13 UTC 2012
Date: Sunday, June 17, 2012 @ 19:21:13
Author: allan
Revision: 161985
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gzip/repos/testing-i686/
gzip/repos/testing-i686/PKGBUILD
(from rev 161984, gzip/trunk/PKGBUILD)
gzip/repos/testing-i686/gzip.install
(from rev 161984, gzip/trunk/gzip.install)
gzip/repos/testing-x86_64/
gzip/repos/testing-x86_64/PKGBUILD
(from rev 161984, gzip/trunk/PKGBUILD)
gzip/repos/testing-x86_64/gzip.install
(from rev 161984, 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 161984, gzip/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-06-17 23:21:13 UTC (rev 161985)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.5
+pkgrel=1
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://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')
+
+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 161984, gzip/trunk/gzip.install)
===================================================================
--- testing-i686/gzip.install (rev 0)
+++ testing-i686/gzip.install 2012-06-17 23:21:13 UTC (rev 161985)
@@ -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 161984, gzip/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-17 23:21:13 UTC (rev 161985)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.5
+pkgrel=1
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://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')
+
+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 161984, gzip/trunk/gzip.install)
===================================================================
--- testing-x86_64/gzip.install (rev 0)
+++ testing-x86_64/gzip.install 2012-06-17 23:21:13 UTC (rev 161985)
@@ -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