summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:17:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:17:16 +0000
commit80f4545426b9d3ca1e6365ca30230df323e5e6b1 (patch)
tree93fdacfde729aa8e6e37fd4e207eeb9232edb0a3 /user
parent8af30a2cda56b3177726649d3793e24ce2e722c8 (diff)
downloadpackages-80f4545426b9d3ca1e6365ca30230df323e5e6b1.tar.gz
packages-80f4545426b9d3ca1e6365ca30230df323e5e6b1.tar.bz2
packages-80f4545426b9d3ca1e6365ca30230df323e5e6b1.tar.xz
packages-80f4545426b9d3ca1e6365ca30230df323e5e6b1.zip
user/perl-router-simple: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-router-simple/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-router-simple/APKBUILD b/user/perl-router-simple/APKBUILD
new file mode 100644
index 000000000..2d4606311
--- /dev/null
+++ b/user/perl-router-simple/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-router-simple
+_pkgname=Router-Simple
+pkgver=0.17
+pkgrel=0
+pkgdesc="Simple HTTP router for Perl"
+url="https://metacpan.org/release/Router-Simple"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends="perl-class-accessor-lite"
+makedepends="perl-dev perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Router-Simple-$pkgver.tar.gz"
+builddir="$srcdir/Router-Simple-$pkgver"
+
+build() {
+ cd "$builddir"
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --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="4fbc4fb375d873d7c06d18da49855b81336744bc712035c6557914e275099d93aee4ab787bb1e7b3b730a109b716b4f572fc538d1d574ff709968a1b3767a963 Router-Simple-0.17.tar.gz"