blob: d5e94a0cc5fd46c5655ffa0df397315828c5af5e (
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
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-par
_pkgname=PAR
pkgver=1.015
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"
options="!check"
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
}
sha512sums="411048cb6517364b04cb46c179574b4baf2dc0788efecedc1e5fe2283a203d25157f1e74411761b8dd3019f50b651b0f40bf7d50131cf40077c4372571aa62b7 perl-par-1.015.tar.gz"
|