2.42.9-1
[arch-packages.git] / perl-compress-bzip2 / trunk / PKGBUILD
blob76916e32a1c0a86a4a9dd4300d6aa216223d0b24
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=perl-compress-bzip2
4 _realname=Compress-Bzip2
5 pkgver=2.28
6 pkgrel=3
7 pkgdesc="Interface to Bzip2 compression library"
8 arch=(x86_64)
9 license=(GPL2)
10 depends=(perl bzip2)
11 url="https://metacpan.org/release/Compress-Bzip2"
12 options=('!emptydirs')
13 source=(https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz)
14 sha512sums=('3b00eab4cec4ec62c2b590dc63e92b4f167407edcee3bdb6581d570bc82c47b6152eb0f21a8b748ac49e87c89a1b99358785609e8f832da16107b6cdc4d9e852')
16 build() {
17   cd $_realname-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 package() {
23   cd $_realname-$pkgver
24   make DESTDIR="$pkgdir" install