diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 19:11:13 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 19:11:13 -0700 |
commit | 3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c (patch) | |
tree | 4ad61b819b77066b25b598ee4320f1eab0656c0c /user | |
parent | 040798953792a07d588dde6e84d5420c12df4746 (diff) | |
download | packages-3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c.tar.gz packages-3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c.tar.bz2 packages-3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c.tar.xz packages-3682e9e7d7dd68bd1f680a5ebe0cb3bebb33b47c.zip |
user/perl-path-tiny: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-path-tiny/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-path-tiny/APKBUILD b/user/perl-path-tiny/APKBUILD new file mode 100644 index 000000000..0f32e49eb --- /dev/null +++ b/user/perl-path-tiny/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-path-tiny +pkgver=0.108 +pkgrel=0 +pkgdesc="File path utility" +url="https://metacpan.org/pod/Path::Tiny" +arch="noarch" +license="Apache-2.0" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-test-mockrandom" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-$pkgver.tar.gz" +builddir="$srcdir/Path-Tiny-$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="21cbc8ec84474a2fc14b77a2c8b659676d4842a87a7572497c0dd6ba1c2e5f91cdefa30fc9578fdc416d8c8ee4155ff302833925c1fdf9242c898ba6a0ebee13 Path-Tiny-0.108.tar.gz" |