From 8af30a2cda56b3177726649d3793e24ce2e722c8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 02:15:00 +0000 Subject: user/perl-plack: new package --- user/perl-plack/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/perl-plack/APKBUILD (limited to 'user/perl-plack') diff --git a/user/perl-plack/APKBUILD b/user/perl-plack/APKBUILD new file mode 100644 index 000000000..6230b7d82 --- /dev/null +++ b/user/perl-plack/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-plack +_pkgname=Plack +pkgver=1.0047 +pkgrel=0 +pkgdesc="Perl PSGI toolkit" +url="https://metacpan.org/release/Plack" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-apache-logformat-compiler perl-cookie-baker perl-devel-stacktrace + perl-devel-stacktrace-ashtml perl-file-sharedir + perl-file-sharedir-install perl-filesys-notify-simple + perl-hash-multivalue perl-http-entity-parser perl-http-headers-fast + perl-http-message perl-stream-buffered perl-try-tiny perl-uri + perl-www-form-urlencoded" +checkdepends="perl-test-requires perl-test-tcp" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Plack-$pkgver.tar.gz" +builddir="$srcdir/Plack-$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="95fa7b7c1cc4d94bc077e69b52a6555e6f62e0119a29cb932f554e70a3466e8bb416b5a8e02c2a11c45f60e87fd01ed469c80a1c19c1a2eba7ba5ad2263e994c Plack-1.0047.tar.gz" -- cgit v1.2.3-70-g09d2