summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 22:50:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-17 22:50:12 +0000
commitfa7bcaa9383b43ce912250e1039df28e4ed2dd1a (patch)
treeb7ca64d3d51877f2370d993be32e2ae372335cba
parent204787c61fb1576177da79ee4d032f8f5a71bc13 (diff)
downloadpackages-fa7bcaa9383b43ce912250e1039df28e4ed2dd1a.tar.gz
packages-fa7bcaa9383b43ce912250e1039df28e4ed2dd1a.tar.bz2
packages-fa7bcaa9383b43ce912250e1039df28e4ed2dd1a.tar.xz
packages-fa7bcaa9383b43ce912250e1039df28e4ed2dd1a.zip
user/perl-class-tiny: new package
-rw-r--r--user/perl-class-tiny/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-class-tiny/APKBUILD b/user/perl-class-tiny/APKBUILD
new file mode 100644
index 000000000..2036473b2
--- /dev/null
+++ b/user/perl-class-tiny/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-class-tiny
+_pkgname=Class-Tiny
+pkgver=1.006
+pkgrel=0
+pkgdesc="Minimalist class construction for Perl"
+url="https://metacpan.org/release/Class-Tiny"
+arch="noarch"
+license="Apache-2.0"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Class-Tiny-$pkgver.tar.gz"
+builddir="$srcdir/Class-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="0a6ca0b99bd10a39445bb582bcf89f3668747f05b13b1f7271e934a73781c855a0418ae19a41593c64288b74710f49c1dcda0005be4edf9965e8020139ca0c7e Class-Tiny-1.006.tar.gz"