From e3413d5606df664bd827d0b65d544c396c55e6fe Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 02:18:02 +0000 Subject: user/perl-json-rpc: new package --- user/perl-json-rpc/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-json-rpc/APKBUILD (limited to 'user') diff --git a/user/perl-json-rpc/APKBUILD b/user/perl-json-rpc/APKBUILD new file mode 100644 index 000000000..7815c031b --- /dev/null +++ b/user/perl-json-rpc/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-json-rpc +_pkgname=JSON-RPC +pkgver=1.06 +pkgrel=0 +pkgdesc="Perl JSON RPC 2.0 server implementation" +url="https://metacpan.org/release/JSON-RPC" +arch="noarch" +license="Artistic-1.0-Perl OR GPL-2.0-only" +depends="perl-cgi perl-class-accessor-lite perl-json perl-libwww perl-plack + perl-router-simple" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DM/DMAKI/JSON-RPC-$pkgver.tar.gz" +builddir="$srcdir/JSON-RPC-$pkgver" + +build() { + cd "$builddir" + perl Build.PL installdirs=vendor + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="541d4e7045d7ae86d1f061976c4c1b4e501de5712dcdc2de63e3a317a0d6ee4d2a8461a4af61f855e533cb22bd90953ad6192e58dcdab36978e25cb9fea5869c JSON-RPC-1.06.tar.gz" -- cgit v1.2.3-70-g09d2