blob: 3c8269298cbecf852a2d62e35ff0e6a8fded7504 (
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
43
44
45
46
47
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-io-gzip
pkgver=0.18
pkgrel=3
pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip"
url="http://search.cpan.org/dist/PerlIO-gzip/"
arch="all"
license="GPL"
depends=""
depends_dev="perl-dev zlib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz
PerlIO-gzip-0.18-RT92412.patch
"
_builddir="$srcdir"/PerlIO-gzip-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="933fdf283a0d2739f7630420569e3b24 PerlIO-gzip-0.18.tar.gz
5a88d2d7c571ebd506e811c5dc78a8e9 PerlIO-gzip-0.18-RT92412.patch"
sha256sums="67b20e7e4dcc4230a44500dbbc63c6a267b09fdf4d4465275cc98a3f9f31bcf3 PerlIO-gzip-0.18.tar.gz
9f6fc3b3ec99cb0c28964ddceab659ee117e9df014c5b0b56630fcead5045711 PerlIO-gzip-0.18-RT92412.patch"
sha512sums="b2f8cc1f00654ae40625cb8dfd1d529c48fad1578290a307a1dd51b4b57737d6476bdf7a122501984d047b3d01f5f0d49ab3bdd6f2e45f8435fce86eae0aa8f8 PerlIO-gzip-0.18.tar.gz
ab56365128eb2db31d30d487e51fff131cc62b18adb4846ac6e3f9db619486c9d0fe0f83b43b3f763f7857696f1d570a37875111bb2484e3be616faf93528c4f PerlIO-gzip-0.18-RT92412.patch"
|