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

Andrea Scarpino andrea at archlinux.org
Wed Jun 23 11:55:24 EDT 2010


    Date: Wednesday, June 23, 2010 @ 11:55:24
  Author: andrea
Revision: 83879

upgpkg: rpmextract 1.0-4
arch any; use package()

Modified:
  rpmextract/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 15:53:27 UTC (rev 83878)
+++ PKGBUILD	2010-06-23 15:55:24 UTC (rev 83879)
@@ -3,18 +3,18 @@
 
 pkgname=rpmextract
 pkgver=1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
-arch=(i686 x86_64)
+url="http://www.archlinux.org"
+arch=('any')
 license=('GPL')
-source=(rpmextract.sh rpm2cpio)
-url="http://www.archlinux.org"
 depends=('bash' 'libarchive' 'coreutils')
+source=('rpmextract.sh' 'rpm2cpio')
 md5sums=('a7b527e4c210e66ef72532c606072e0d'
          '57a4e99bedcefadc2f89006ce98d2e60')
 
-build() {
+package() {
   install -d ${pkgdir}/usr/bin
-  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/ || return 1
-  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/ || return 1
+  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/
+  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/
 }



More information about the arch-commits mailing list