[arch-commits] Commit in perl-string-shellquote/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 08:21:07 EST 2012


    Date: Saturday, February 25, 2012 @ 08:21:06
  Author: pierre
Revision: 151303

upgpkg: perl-string-shellquote 1.04-2

rebuild old package

Modified:
  perl-string-shellquote/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 13:19:54 UTC (rev 151302)
+++ PKGBUILD	2012-02-25 13:21:06 UTC (rev 151303)
@@ -4,15 +4,15 @@
 pkgname=perl-string-shellquote
 _realname=String-ShellQuote
 pkgver=1.04
-pkgrel=1
+pkgrel=2
 pkgdesc="Quote strings for passing through the shell"
-arch=(any)
+arch=('any')
 license=('GPL')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl>=5.10.0')
-replaces=string-shellquote
-source=(http://www.cpan.org/modules/by-module/URI/ROSCH/${_realname}-${pkgver}.tar.gz)
-options=(!emptydirs)
+depends=('perl')
+replaces=('string-shellquote')
+source=("http://www.cpan.org/modules/by-module/URI/ROSCH/${_realname}-${pkgver}.tar.gz")
+options=('!emptydirs')
 md5sums=('da6329dc482b21adf5697cfbd2ac5412')
 
 build() {
@@ -20,6 +20,10 @@
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
   make test
 }
 



More information about the arch-commits mailing list