summaryrefslogtreecommitdiffstats
path: root/perl-compress-zlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'perl-compress-zlib/PKGBUILD')
-rw-r--r--perl-compress-zlib/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/perl-compress-zlib/PKGBUILD b/perl-compress-zlib/PKGBUILD
new file mode 100644
index 0000000..ed9d427
--- /dev/null
+++ b/perl-compress-zlib/PKGBUILD
@@ -0,0 +1,27 @@
+pkgname=perl-compress-zlib
+_realname=Compress-Zlib
+pkgver=2.015
+pkgrel=1
+pkgdesc="Perl interface to zlib compression library"
+arch=(i686 x86_64)
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+#http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-2.015.tar.gz
+source=(http://www.cpan.org/authors/id/P/PM/PMQS/${_realname}-${pkgver}.tar.gz)
+replaces=('compress-zlib')
+provides=('compress-zlib')
+md5sums=('689ba2cc399b019d0bf76a0575c32947')
+
+build() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=${pkgdir} || return 1
+
+ # remove perllocal.pod and .packlist
+ find ${pkgdir} -name perllocal.pod -delete
+ find ${pkgdir} -name .packlist -delete
+}