From e72ef5a23f7fea9461066eef1e7df82840391251 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 19 May 2022 02:26:54 +0000 Subject: user/perl-file-treecreate: new package --- user/perl-file-treecreate/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-file-treecreate/APKBUILD (limited to 'user/perl-file-treecreate/APKBUILD') diff --git a/user/perl-file-treecreate/APKBUILD b/user/perl-file-treecreate/APKBUILD new file mode 100644 index 000000000..9e972be1e --- /dev/null +++ b/user/perl-file-treecreate/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=perl-file-treecreate +_author=SHLOMIF +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.0.1 +pkgrel=0 +pkgdesc="Perl module for recursively creating a directory tree" +url="https://metacpan.org/pod/File::TreeCreate" +arch="noarch" +license="MIT" +depends="perl-dev" +makedepends="perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-TreeCreate-$pkgver.tar.gz" +builddir="$srcdir/File-TreeCreate-$pkgver" + +build() { + perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor" + ./Build +} + +check() { + ./Build test +} + +package() { + ./Build install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="736c850db328b74d4ef4ea52e01e76d8e6473243b4676c59549904dc8c7ee486601d7512b3347f67f6e6ee3a7639a38edbe74198ec3526c6b94e1f2227ce524b File-TreeCreate-0.0.1.tar.gz" -- cgit v1.2.3-70-g09d2