blob: d9d4687ccfc87d7b03a1bf18586995c5c49477b5 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-io-compress
_realname=IO-Compress
pkgver=2.072
pkgrel=0
pkgdesc="Perl compression library"
url="http://search.cpan.org/dist/IO-Compress/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl perl-compress-raw-bzip2 perl-compress-raw-zlib"
makedepends="perl-dev"
install=
subpackages=""
source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/${_realname}-${pkgver}.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
build() {
cd $_builddir
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd $_builddir
make DESTDIR="$pkgdir" install || return 1
# conflicts with core perl
rm "$pkgdir"/usr/bin/zipdetails || return 1
rmdir "$pkgdir"/usr/bin 2>/dev/null || true
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
# man pages are already provided by perl-doc
rm -rf "$pkgdir"/usr/share/man || return 1
}
md5sums="4e61831a3862a74f062f61b7c6703e61 IO-Compress-2.072.tar.gz"
sha256sums="92fffcf5a49fbc4d3adbf2ec3c4dc1beeba12e86ab370ccc32a1c78ff3ba2957 IO-Compress-2.072.tar.gz"
sha512sums="23987ad3d32f26f7e0d33aa81b566a0d615706eb5e2ee454a1589d8f6f409d4faa9a791420191ad7de6cc97cf1e0e92a346a840a3f3ab83f45860a1980c72906 IO-Compress-2.072.tar.gz"
|