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

Allan McRae allan at archlinux.org
Sun Sep 11 01:35:04 UTC 2011


    Date: Saturday, September 10, 2011 @ 21:35:04
  Author: allan
Revision: 137785

db-move: moved gzip from [testing] to [core] (x86_64)

Added:
  gzip/repos/core-x86_64/PKGBUILD
    (from rev 137783, gzip/repos/testing-x86_64/PKGBUILD)
  gzip/repos/core-x86_64/gzip.install
    (from rev 137783, gzip/repos/testing-x86_64/gzip.install)
Deleted:
  gzip/repos/core-x86_64/PKGBUILD
  gzip/repos/core-x86_64/gzip.install
  gzip/repos/testing-x86_64/

--------------+
 PKGBUILD     |   82 +++++++++++++++++++++++++++++----------------------------
 gzip.install |   40 +++++++++++++--------------
 2 files changed, 63 insertions(+), 59 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD	2011-09-11 01:35:02 UTC (rev 137784)
+++ core-x86_64/PKGBUILD	2011-09-11 01:35:04 UTC (rev 137785)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=gzip
-pkgver=1.4
-pkgrel=2
-pkgdesc="GNU compression utility"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/gzip/"
-license=('GPL3')
-groups=('base')
-depends=('glibc' 'bash')
-makedepends=('patch')
-install=gzip.install
-source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz)
-md5sums=('e381b8506210c794278f5527cba0e765')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-   # By default Gzip uses assembly code. While this may preform better, 
-   # it is not position independent. The DEFS environment variable is 
-   # set to use only C code.
-   export DEFS="NO_ASM"
-  ./configure --prefix=/usr
-  make 
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make prefix=${pkgdir}/usr install
-
-  install -dm755 ${pkgdir}/bin
-  mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ 
-  cd $pkgdir/bin
-  ln -sf ${pkgname} compress
-}

Copied: gzip/repos/core-x86_64/PKGBUILD (from rev 137783, gzip/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD	                        (rev 0)
+++ core-x86_64/PKGBUILD	2011-09-11 01:35:04 UTC (rev 137785)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gzip
+pkgver=1.4
+pkgrel=3
+pkgdesc="GNU compression utility"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/gzip/"
+license=('GPL3')
+groups=('base')
+depends=('glibc' 'bash')
+makedepends=('patch')
+install=gzip.install
+source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz)
+md5sums=('e381b8506210c794278f5527cba0e765')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+   # By default Gzip uses assembly code. While this may preform better, 
+   # it is not position independent. The DEFS environment variable is 
+   # set to use only C code.
+   export DEFS="NO_ASM"
+  ./configure --prefix=/usr
+  make 
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make prefix=${pkgdir}/usr install
+
+  install -dm755 ${pkgdir}/bin
+  mv ${pkgdir}/usr/bin/{gunzip,gzip,uncompress,zcat} ${pkgdir}/bin/ 
+  cd $pkgdir/bin
+}

Deleted: core-x86_64/gzip.install
===================================================================
--- core-x86_64/gzip.install	2011-09-11 01:35:02 UTC (rev 137784)
+++ core-x86_64/gzip.install	2011-09-11 01:35:04 UTC (rev 137785)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(gzip.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
-    usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}

Copied: gzip/repos/core-x86_64/gzip.install (from rev 137783, gzip/repos/testing-x86_64/gzip.install)
===================================================================
--- core-x86_64/gzip.install	                        (rev 0)
+++ core-x86_64/gzip.install	2011-09-11 01:35:04 UTC (rev 137785)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gzip.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+    usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list