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

Eric Bélanger eric at archlinux.org
Sun Mar 25 21:44:07 EDT 2012


    Date: Sunday, March 25, 2012 @ 21:44:06
  Author: eric
Revision: 154305

upgpkg: perl-bit-vector 7.2-1

Upstream update, Add check function, Update source url

Modified:
  perl-bit-vector/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-26 01:26:00 UTC (rev 154304)
+++ PKGBUILD	2012-03-26 01:44:06 UTC (rev 154305)
@@ -4,30 +4,34 @@
 
 pkgname=perl-bit-vector
 _cpanname=Bit-Vector
-pkgver=7.1
-pkgrel=3
+pkgver=7.2
+pkgrel=1
 pkgdesc='Efficient bit vector, set of integers and "big int" math library'
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'PerlArtistic')
 url="http://search.cpan.org/dist/${_cpanname}/"
 depends=('perl-carp-clan' 'perl>=5.10.0')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/${_cpanname}-${pkgver}.tar.gz)
-md5sums=('164c8574b728f6171b2a6f564fcd2e50')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('bc6ae34738b8f889290bf50099ff8aed')
 
 build() {
-  cd ${srcdir}/${_cpanname}-$pkgver
+  cd "${srcdir}/${_cpanname}-$pkgver"
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd "${srcdir}/${_cpanname}-$pkgver"
   make test
 }
 
 package() {
-  cd ${srcdir}/${_cpanname}-$pkgver
-  make install DESTDIR=${pkgdir}
+  cd "${srcdir}/${_cpanname}-$pkgver"
+  make DESTDIR="${pkgdir}" install
 
   # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
+  find "${pkgdir}" -name perllocal.pod -delete
+  find "${pkgdir}" -name .packlist -delete
 }



More information about the arch-commits mailing list