[arch-commits] Commit in perl-xml-simple/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 03:36:58 EST 2012


    Date: Saturday, February 25, 2012 @ 03:36:58
  Author: pierre
Revision: 151220

upgpkg: perl-xml-simple 2.18-4

rebuild old package

Modified:
  perl-xml-simple/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 08:35:55 UTC (rev 151219)
+++ PKGBUILD	2012-02-25 08:36:58 UTC (rev 151220)
@@ -5,19 +5,23 @@
 pkgname=perl-xml-simple
 _realname=XML-Simple
 pkgver=2.18
-pkgrel=3
+pkgrel=4
 pkgdesc="Simple XML parser for perl"
-arch=(any)
+arch=('any')
 license=('PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-xml-parser' 'perl>=5.12.0')
+depends=('perl-xml-parser' 'perl')
 options=('!emptydirs')
-source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz)
+source=("ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz")
 md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')
 
 build() {
   cd "${srcdir}/${_realname}-${pkgver}"
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list