summaryrefslogtreecommitdiff
path: root/extra/perl-bit-vector/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-bit-vector/PKGBUILD')
-rw-r--r--extra/perl-bit-vector/PKGBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/extra/perl-bit-vector/PKGBUILD b/extra/perl-bit-vector/PKGBUILD
index b27aa1b39..8076b44dd 100644
--- a/extra/perl-bit-vector/PKGBUILD
+++ b/extra/perl-bit-vector/PKGBUILD
@@ -1,19 +1,29 @@
-# $Id: PKGBUILD 160505 2012-06-02 10:26:56Z bluewind $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
+# $Id: PKGBUILD 186393 2013-05-26 09:24:52Z bluewind $
+# Maintainer:
+# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>
pkgname=perl-bit-vector
_cpanname=Bit-Vector
pkgver=7.2
-pkgrel=2
+pkgrel=3
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')
+source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/${_cpanname}-${pkgver}.tar.gz
+ Bit-Vector-destroy.patch)
+md5sums=('bc6ae34738b8f889290bf50099ff8aed'
+ 'c86a55b84cb05dd04004ee8f56ee2ee3')
+
+prepare() {
+ cd "${srcdir}/${_cpanname}-$pkgver"
+
+ # https://rt.cpan.org/Public/Bug/Display.html?id=84250
+ patch -Np1 -i "${srcdir}/Bit-Vector-destroy.patch"
+}
build() {
cd "${srcdir}/${_cpanname}-$pkgver"