[arch-commits] Commit in perl-bit-vector/repos (3 files)

Florian Pritz bluewind at archlinux.org
Sun May 27 07:42:51 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:42:51
  Author: bluewind
Revision: 159865

db-move: moved perl-bit-vector from [staging] to [testing] (x86_64)

Added:
  perl-bit-vector/repos/testing-x86_64/
  perl-bit-vector/repos/testing-x86_64/PKGBUILD
    (from rev 159819, perl-bit-vector/repos/staging-x86_64/PKGBUILD)
Deleted:
  perl-bit-vector/repos/staging-x86_64/

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: perl-bit-vector/repos/testing-x86_64/PKGBUILD (from rev 159819, perl-bit-vector/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-05-27 07:42:51 UTC (rev 159865)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=perl-bit-vector
+_cpanname=Bit-Vector
+pkgver=7.2
+pkgrel=2
+pkgdesc='Efficient bit vector, set of integers and "big int" math library'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_cpanname}/"
+depends=('perl-carp-clan' 'perl')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/${_cpanname}-${pkgver}.tar.gz)
+md5sums=('bc6ae34738b8f889290bf50099ff8aed')
+
+build() {
+  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 DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list