summaryrefslogtreecommitdiff
path: root/user
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-10-21 18:33:59 -0500
commite72ef5a23f7fea9461066eef1e7df82840391251 (patch)
tree418914ced81a80b7b3bcfd40d4130aa78b5902e7 /user
parent99bdfa9ef15a418a32c105e714346cb8bd1ad092 (diff)
downloadpackages-e72ef5a23f7fea9461066eef1e7df82840391251.tar.gz
packages-e72ef5a23f7fea9461066eef1e7df82840391251.tar.bz2
packages-e72ef5a23f7fea9461066eef1e7df82840391251.tar.xz
packages-e72ef5a23f7fea9461066eef1e7df82840391251.zip
user/perl-file-treecreate: new package
Diffstat (limited to 'user')
-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"