summaryrefslogtreecommitdiff
path: root/user/perl-dir-manifest/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-22 04:32:55 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-22 04:32:55 +0000
commitce94bef24c7b9957c40e3f9f64b902d06e7dd2a2 (patch)
treebc50b2773fd9cbb227f884974c859e4f2eeaa48a /user/perl-dir-manifest/APKBUILD
parent11c1f5382613f9146008bb91505656402c59e8d9 (diff)
downloadpackages-ce94bef24c7b9957c40e3f9f64b902d06e7dd2a2.tar.gz
packages-ce94bef24c7b9957c40e3f9f64b902d06e7dd2a2.tar.bz2
packages-ce94bef24c7b9957c40e3f9f64b902d06e7dd2a2.tar.xz
packages-ce94bef24c7b9957c40e3f9f64b902d06e7dd2a2.zip
user/perl-dir-manifest: new package
Diffstat (limited to 'user/perl-dir-manifest/APKBUILD')
-rw-r--r--user/perl-dir-manifest/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-dir-manifest/APKBUILD b/user/perl-dir-manifest/APKBUILD
new file mode 100644
index 000000000..81ada3554
--- /dev/null
+++ b/user/perl-dir-manifest/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-dir-manifest
+_pkgname=Dir-Manifest
+pkgver=0.0.5
+pkgrel=0
+pkgdesc="Perl module to turn a directory and files into a dictionary"
+url="https://metacpan.org/release/Dir-Manifest"
+arch="noarch"
+license="X11"
+depends="perl perl-moo perl-path-tiny"
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ perl Build.PL installdirs=vendor
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="531088dec5de10eb5de6d58e92e39e84e637f3913ddafc5f1d1510e7151bcd3f22a6a9a90934ad7c861352ef17f80e32248941a8bf40d66c5b8f9d4eab43daef Dir-Manifest-0.0.5.tar.gz"