summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 16:29:08 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-04-26 16:29:08 -0500
commite73405a2197576f8a2ea5841c2527eb8e846cf0a (patch)
tree7b09ff8c25fbc3ffd3eafacf1cb54a19cf6e3e08
parent977eec417536207028dd56be80a70f82fa6f21ff (diff)
downloadpackages-e73405a2197576f8a2ea5841c2527eb8e846cf0a.tar.gz
packages-e73405a2197576f8a2ea5841c2527eb8e846cf0a.tar.bz2
packages-e73405a2197576f8a2ea5841c2527eb8e846cf0a.tar.xz
packages-e73405a2197576f8a2ea5841c2527eb8e846cf0a.zip
user/perl-string-escape: new package
-rw-r--r--user/perl-string-escape/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-string-escape/APKBUILD b/user/perl-string-escape/APKBUILD
new file mode 100644
index 000000000..33d612291
--- /dev/null
+++ b/user/perl-string-escape/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-string-escape
+pkgver=2010.002
+pkgrel=0
+pkgdesc="Perl module for escaping strings"
+url="https://metacpan.org/pod/String::Escape"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/EV/EVO/String-Escape-$pkgver.tar.gz"
+builddir="$srcdir/String-Escape-$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="668e196bbd95b4e9e5fc9ae3aebe0e7f1990362973bd027f2f3728f212786bc2104141ced3e024006b3ed22fa6345b968440029c98b87cbc299ac192221724c7 String-Escape-2010.002.tar.gz"