summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:25:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:25:02 +0000
commitb196bd64a7a503738b5dcd9a66447b4a6b8c9ec3 (patch)
tree301c363430c85af1662d53325ceb3f02b2fdceec
parent7bd4cb375322ba77210e4d871f0d48458066f8fd (diff)
downloadpackages-b196bd64a7a503738b5dcd9a66447b4a6b8c9ec3.tar.gz
packages-b196bd64a7a503738b5dcd9a66447b4a6b8c9ec3.tar.bz2
packages-b196bd64a7a503738b5dcd9a66447b4a6b8c9ec3.tar.xz
packages-b196bd64a7a503738b5dcd9a66447b4a6b8c9ec3.zip
user/perl-specio-library-path-tiny: new package
-rw-r--r--user/perl-specio-library-path-tiny/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-specio-library-path-tiny/APKBUILD b/user/perl-specio-library-path-tiny/APKBUILD
new file mode 100644
index 000000000..907d3245d
--- /dev/null
+++ b/user/perl-specio-library-path-tiny/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-specio-library-path-tiny
+pkgver=0.04
+pkgrel=0
+pkgdesc="Path::Tiny types and coercions for Specio"
+url="https://metacpan.org/release/Specio-Library-Path-Tiny"
+arch="noarch"
+license="Apache-2.0"
+depends="perl-file-pushd perl-path-tiny perl-specio"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-$pkgver.tar.gz"
+builddir="$srcdir/Specio-Library-Path-Tiny-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="22ecd74d31a2ee4be2deac887b178d571c31aac1867838b38cb362ee6f5deaf3082282d39241a3432bfc14db86651a13283be68b0e23e224cf8ff502503d17de Specio-Library-Path-Tiny-0.04.tar.gz"