From 0f4b210c869143bde2fc27ba188c7dd355abb220 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 03:19:35 +0000 Subject: user/perl-string-shellquote: new package --- user/perl-string-shellquote/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-string-shellquote/APKBUILD (limited to 'user/perl-string-shellquote') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-60-g2f50