blob: d50f0ae4d12dec498787c52b02713eea2939b65f (
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
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-archive-zip
_realname=Archive-Zip
pkgver=1.53
pkgrel=0
pkgdesc="Provide a perl interface to ZIP archive files."
url="http://search.cpan.org/dist/Archive-Zip/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_realname-$pkgver.tar.gz"
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="0e5c69c28ebe860145fb81dda4c7ba30 Archive-Zip-1.53.tar.gz"
sha256sums="c66f3cdfd1965d47d84af1e37b997e17d3f8c5f2cceffc1e90d04d64001424b9 Archive-Zip-1.53.tar.gz"
sha512sums="ddf2f518e31c41b31c1ee66c1b4c09c8e964f1f458c6403b9a0f2ff6f41e54284a8995db7c0d1a8b08143f464b02a38fc0162bde9c0ad13f38e8b44a575482b3 Archive-Zip-1.53.tar.gz"
|