[arch-commits] Commit in gzip/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sun May 10 02:55:19 EDT 2009


    Date: Sunday, May 10, 2009 @ 02:55:19
  Author: tpowa
Revision: 38696

upgpkg: gzip 1.3.12-5

Modified:
  gzip/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-10 06:49:21 UTC (rev 38695)
+++ PKGBUILD	2009-05-10 06:55:19 UTC (rev 38696)
@@ -2,7 +2,7 @@
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=gzip
 pkgver=1.3.12
-pkgrel=4
+pkgrel=5
 pkgdesc="GNU compression utility"
 arch=(i686 x86_64)
 url="http://www.gnu.org/software/gzip/"
@@ -14,18 +14,19 @@
         gzip-fixutimens.patch)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1
 
   ./configure --prefix=/usr
   make || return 1
-  mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
-  make prefix=$startdir/pkg/usr install
-  cd $startdir/pkg/usr/bin
-  mv $pkgname $startdir/pkg/bin
-  mv gunzip zcat uncompress $startdir/pkg/bin
-  cd $startdir/pkg/bin
+  mkdir -p $pkgdir/bin $pkgdir/usr/bin
+  make prefix=$pkgdir/usr install
+  cd $pkgdir/usr/bin
+  mv $pkgname $pkgdir/bin
+  mv gunzip zcat uncompress $pkgdir/bin
+  cd $pkgdir/bin
   ln -sf $pkgname compress
+  rm -f ${pkgdir}/usr/share/info/dir
 }
 md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
          'cb592761476921018386031d91625153')



More information about the arch-commits mailing list