blob: 83f5d49888f8b0a5b19ddb4a7b5a66fc62d75e12 (
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: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-io-gzip
pkgver=0.18
pkgrel=0
pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip"
url="http://search.cpan.org/~nwclark/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"
_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"
sha256sums="67b20e7e4dcc4230a44500dbbc63c6a267b09fdf4d4465275cc98a3f9f31bcf3 PerlIO-gzip-0.18.tar.gz"
sha512sums="b2f8cc1f00654ae40625cb8dfd1d529c48fad1578290a307a1dd51b4b57737d6476bdf7a122501984d047b3d01f5f0d49ab3bdd6f2e45f8435fce86eae0aa8f8 PerlIO-gzip-0.18.tar.gz"
|