mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 18:47:15 +08:00
26 lines
610 B
Bash
26 lines
610 B
Bash
# Platform packages for Chakra
|
|
|
|
pkgname=perl-compress-bzip2
|
|
_realname=Compress-Bzip2
|
|
pkgver=2.09
|
|
pkgrel=2
|
|
pkgdesc="Interface to Bzip2 compression library"
|
|
arch=(i686 x86_64)
|
|
license=(GPL2)
|
|
depends=(perl bzip2)
|
|
url="http://search.cpan.org/dist/Compress-Bzip2"
|
|
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
|
|
}
|