mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
testing/perl-path-iter: new aport
This commit is contained in:
parent
bd3d03d8d9
commit
0211a7b11b
1 changed files with 34 additions and 0 deletions
34
testing/perl-path-iter/APKBUILD
Normal file
34
testing/perl-path-iter/APKBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# 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"
|
Loading…
Add table
Add a link
Reference in a new issue