summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 03:19:35 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 03:19:35 +0000
commit0f4b210c869143bde2fc27ba188c7dd355abb220 (patch)
tree19e641f79904a831780d933432cb4a860f0083ac
parent8b651b40e46835eb8931ad92e45a4d7044e5fac9 (diff)
downloadpackages-0f4b210c869143bde2fc27ba188c7dd355abb220.tar.gz
packages-0f4b210c869143bde2fc27ba188c7dd355abb220.tar.bz2
packages-0f4b210c869143bde2fc27ba188c7dd355abb220.tar.xz
packages-0f4b210c869143bde2fc27ba188c7dd355abb220.zip
user/perl-string-shellquote: new package
-rw-r--r--user/perl-string-shellquote/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-string-shellquote/APKBUILD b/user/perl-string-shellquote/APKBUILD
new file mode 100644
index 000000000..eb310c686
--- /dev/null
+++ b/user/perl-string-shellquote/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-string-shellquote
+pkgver=1.04
+pkgrel=0
+pkgdesc="Quote strings for passing through to the shell"
+url="https://metacpan.org/release/String-ShellQuote"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-$pkgver.tar.gz"
+builddir="$srcdir/String-ShellQuote-$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="f5b472985fb9c15d5c82c03b5c6c90a3a545ada854b90a96cfb7b0f57b8a817707ed91ca0f20344a2b8d200fe365ea737a9b39b64d526310d41ac2466552236d String-ShellQuote-1.04.tar.gz"