1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/perl-path-iter/APKBUILD
2018-02-27 17:43:25 +00:00

34 lines
916 B
Text

# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-path-iter
_realname=Path-Iter
pkgver=0.2
pkgrel=0
pkgdesc="Simple Efficient Path Iteration"
url="http://drmuey.com/cpan_contact.pl"
arch="noarch"
license="PerlArtistic"
depends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="339f0c22e423cd4916324f02eac359ef3d6bc7718a49c1ad9384d1a0f4eabac3ddd3f1de2ad46beadbbc36473b18f137ad15171bb3e09cda68dd27f953042df4 Path-Iter-0.2.tar.gz"