aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-archive-zip/APKBUILD
blob: fa7373c2ee8478e229738658f57e614cb95e6de8 (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:  Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-archive-zip
_realname=Archive-Zip
pkgver=1.59
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"

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
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="b649a593391573f9382cef8c08d1d5ba  Archive-Zip-1.59.tar.gz"
sha256sums="7a4b1b0aa43ae7231bb3212e86ab6b538725625df06e82772c3da24c8b26e75d  Archive-Zip-1.59.tar.gz"
sha512sums="ca9df48d770bf34945daa1721b9372ed90816b8a2a3d61523fc91c583ef545df169528093d6cd15fbc7e962ce0aab17f0fe8899fd35a6f0245c97b7cb379dd5f  Archive-Zip-1.59.tar.gz"