initial import
This commit is contained in:
26
perl-compress-bzip2/PKGBUILD
Normal file
26
perl-compress-bzip2/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-compress-bzip2
|
||||
_realname=Compress-Bzip2
|
||||
pkgver=2.28
|
||||
pkgrel=1
|
||||
pkgdesc="Interface to Bzip2 compression library"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://metacpan.org/release/Compress-Bzip2'
|
||||
license=('GPL-2')
|
||||
depends=('perl' 'bzip2')
|
||||
options=('!emptydirs')
|
||||
source=("https://cpan.metacpan.org/authors/id/R/RU/RURBAN/${_realname}-${pkgver}.tar.gz")
|
||||
sha512sums=('3b00eab4cec4ec62c2b590dc63e92b4f167407edcee3bdb6581d570bc82c47b6152eb0f21a8b748ac49e87c89a1b99358785609e8f832da16107b6cdc4d9e852')
|
||||
|
||||
build() {
|
||||
cd $_realname-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_realname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user