summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-19 02:26:54 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:44 +0000
commita9ef743505df1c4fb359ed1389b690a9f6e4876f (patch)
treeaa1931b77234a819d3875076daab5a063b2fdf9c
parentc1255db2699cb5a7a62a7c92d581b47232490fdd (diff)
downloadpackages-a9ef743505df1c4fb359ed1389b690a9f6e4876f.tar.gz
packages-a9ef743505df1c4fb359ed1389b690a9f6e4876f.tar.bz2
packages-a9ef743505df1c4fb359ed1389b690a9f6e4876f.tar.xz
packages-a9ef743505df1c4fb359ed1389b690a9f6e4876f.zip
user/perl-file-treecreate: new package
-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"