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

Eric Bélanger eric at archlinux.org
Sat Mar 17 19:13:26 UTC 2012


    Date: Saturday, March 17, 2012 @ 15:13:26
  Author: eric
Revision: 153671

upgpkg: perl-dbi 1.618-1

Upstream update, Add check function

Modified:
  perl-dbi/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-17 18:34:49 UTC (rev 153670)
+++ PKGBUILD	2012-03-17 19:13:26 UTC (rev 153671)
@@ -4,16 +4,16 @@
 
 pkgname=perl-dbi
 _realname=DBI
-pkgver=1.616
-pkgrel=2
+pkgver=1.618
+pkgrel=1
 pkgdesc="Database independent interface for Perl"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL' 'PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
 depends=('perl>=5.12.1')
-options=(!emptydirs)
+options=('!emptydirs')
 source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz)
-md5sums=('799313e54a693beb635b47918458f7c4')
+md5sums=('5ad29b56f7457f22bd1ca1c871b30719')
 
 build() {
   cd "${srcdir}/${_realname}-${pkgver}"
@@ -21,6 +21,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