summaryrefslogtreecommitdiff
path: root/testing/perl-compress-bzip2/PKGBUILD
blob: fc142e677a9a641bd4f65ded275987a3a50ea2b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 127799 2011-06-18 15:54:27Z ibiru $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=perl-compress-bzip2
_realname=Compress-Bzip2
pkgver=2.09
pkgrel=3
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
}