From e73405a2197576f8a2ea5841c2527eb8e846cf0a Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 26 Apr 2019 16:29:08 -0500 Subject: user/perl-string-escape: new package --- user/perl-string-escape/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-string-escape/APKBUILD (limited to 'user') 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 +# Maintainer: Kiyoshi Aman +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" -- cgit v1.2.3-70-g09d2