summaryrefslogtreecommitdiff
path: root/extra/perl-compress-bzip2/PKGBUILD
blob: 7d6423df86c579787378b20fe0285529f4bcff74 (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
26
# $Id: PKGBUILD 190813 2013-07-17 15:53:04Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=perl-compress-bzip2
_realname=Compress-Bzip2
pkgver=2.16
pkgrel=1
pkgdesc="Interface to Bzip2 compression library"
arch=(i686 x86_64 'mips64el')
license=(GPL2)
depends=(perl bzip2)
url="http://search.cpan.org/dist/Compress-Bzip2"
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_realname-$pkgver.tar.gz")
md5sums=('bd7afcd949023ed2f3e9d9294848ad19')

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
}