summaryrefslogtreecommitdiff
path: root/user/perl-file-treecreate
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-file-treecreate')
-rw-r--r--user/perl-file-treecreate/APKBUILD33
1 files changed, 33 insertions, 0 deletions
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 <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+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"