summaryrefslogtreecommitdiffstats
path: root/main/perl-archive-zip/APKBUILD
blob: bcfc6829c8abfb59ae4bebbf1e40753f88445e86 (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.33
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="b732d154306efc85260c9b47cb567d10  Archive-Zip-1.33.tar.gz"
sha256sums="58812671e6eb88a43fcc89ab90562cf875961409b617b6d4787270dc3e23e94f  Archive-Zip-1.33.tar.gz"
sha512sums="38c4bbe92270753366710e77102983dd5f1c495da74dc33e258b4f9117449cf0b75138f86a26e9f8f5b53a30bb304c5d177e194339d84d217a698641af3112f5  Archive-Zip-1.33.tar.gz"