aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-par/APKBUILD
blob: 7048200ecf24f2d5d9cc87b3c2ed283f0f4c495e (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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par
_pkgname=PAR
pkgver=1.013
pkgrel=0
pkgdesc="Perl Archive Toolkit"
url="http://search.cpan.org/dist/$_pkgname/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl perl-archive-zip perl-par-dist"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="6c65da09815fd2e5d55b42692bef6ed6  perl-par-1.013.tar.gz"
sha256sums="08eb07ce67b48098052e9c8f93596cd1360fd60b34b25fd91d9e7538584c302e  perl-par-1.013.tar.gz"
sha512sums="e5327d49624167cadf2c8e0b1af105d908d08cc8ea991b602409a8608e488b1bfabf40a378a6e7a3925488a6a9e542a0a5ec1ab0ae2ec8ef275b16f54831d9c6  perl-par-1.013.tar.gz"