[arch-commits] CVS update of extra/system/rpmextract (PKGBUILD rpmextract.sh)

Tobias Powalowski tpowa at archlinux.org
Sat Feb 9 12:32:23 UTC 2008


    Date: Saturday, February 9, 2008 @ 07:32:23
  Author: tpowa
    Path: /home/cvs-extra/extra/system/rpmextract

Modified: PKGBUILD (1.2 -> 1.3) rpmextract.sh (1.1 -> 1.2)

'upgpkg: fix http://bugs.archlinux.org/task/7491'


---------------+
 PKGBUILD      |    9 +++++----
 rpmextract.sh |    2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)


Index: extra/system/rpmextract/PKGBUILD
diff -u extra/system/rpmextract/PKGBUILD:1.2 extra/system/rpmextract/PKGBUILD:1.3
--- extra/system/rpmextract/PKGBUILD:1.2	Tue May 30 13:31:16 2006
+++ extra/system/rpmextract/PKGBUILD	Sat Feb  9 07:32:23 2008
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD,v 1.2 2006/05/30 17:31:16 ganja_guru Exp $
+# $Id: PKGBUILD,v 1.3 2008/02/09 12:32:23 tpowa Exp $
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=rpmextract
 pkgver=0
-pkgrel=1
+pkgrel=2
 pkgdesc="This script extracts rpm archives"
 arch=(i686 x86_64)
+license=('GPL')
 source=(rpmextract.sh)
 url="http://www.archlinux.org"
-depends=('bash' 'gzip' 'bzip2' 'cpio')
+depends=('bash' 'libarchive')
 build() {
 install -D -m755 $startdir/src/rpmextract.sh $startdir/pkg/usr/bin/rpmextract.sh
 }
-md5sums=('532c5c877a8f25897e0e60852130bb6e')
+md5sums=('e90e363350c0b334f858385c52cf7559')
Index: extra/system/rpmextract/rpmextract.sh
diff -u extra/system/rpmextract/rpmextract.sh:1.1 extra/system/rpmextract/rpmextract.sh:1.2
--- extra/system/rpmextract/rpmextract.sh:1.1	Sat Apr  2 12:12:08 2005
+++ extra/system/rpmextract/rpmextract.sh	Sat Feb  9 07:32:23 2008
@@ -23,4 +23,4 @@
 hdrsize=`expr 8 + 16 \* $il + $dl`
 o=`expr $o + $hdrsize`
 
-dd if=$pkg ibs=$o skip=1 2>/dev/null | gunzip | cpio -idmuv || dd if=$pkg ibs=$o skip=1 2>/dev/null | bzip2 -d | cpio -idmuv
+dd if=$pkg ibs=$o skip=1 2>/dev/null | bsdtar -xf -
\ No newline at end of file




More information about the arch-commits mailing list