diff options
Diffstat (limited to 'extra/perl-compress-bzip2/PKGBUILD')
-rw-r--r-- | extra/perl-compress-bzip2/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/perl-compress-bzip2/PKGBUILD b/extra/perl-compress-bzip2/PKGBUILD new file mode 100644 index 000000000..fdfd5bcf3 --- /dev/null +++ b/extra/perl-compress-bzip2/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 112695 2011-03-06 00:40:04Z heftig $ +# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> +pkgname=perl-compress-bzip2 +_realname=Compress-Bzip2 +pkgver=2.09 +pkgrel=1 +pkgdesc="Interface to Bzip2 compression library" +arch=(i686 x86_64) +license=(GPL2) +depends=(perl bzip2) +url='http://search.cpan.org/dist/$_realname' +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY/$_realname-$pkgver.tar.gz") +md5sums=('1699fde3e86f2a036f135ae606d456bf') + +build() { + cd "$srcdir/$_realname-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$_realname-$pkgver" + make DESTDIR="$pkgdir" install +} |