diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 21:18:20 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 21:18:20 -0700 |
commit | 356283816994aaec363ec0dba67d360334c0a362 (patch) | |
tree | 8f9aa3a7cedda29b326976321f34b77ded6b7ebf /user/perl-sub-quote/APKBUILD | |
parent | d05ef18194544dcf30b45ad801c37794d4b5c037 (diff) | |
download | packages-356283816994aaec363ec0dba67d360334c0a362.tar.gz packages-356283816994aaec363ec0dba67d360334c0a362.tar.bz2 packages-356283816994aaec363ec0dba67d360334c0a362.tar.xz packages-356283816994aaec363ec0dba67d360334c0a362.zip |
user/perl-sub-quote: new package
Diffstat (limited to 'user/perl-sub-quote/APKBUILD')
-rw-r--r-- | user/perl-sub-quote/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-sub-quote/APKBUILD b/user/perl-sub-quote/APKBUILD new file mode 100644 index 000000000..778b7f793 --- /dev/null +++ b/user/perl-sub-quote/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-sub-quote +pkgver=2.005001 +pkgrel=0 +pkgdesc="Efficient generation of subroutines via string eval" +url="https://metacpan.org/release/Sub-Quote" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev perl-test-fatal" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Sub-Quote-$pkgver.tar.gz" +builddir="$srcdir/Sub-Quote-$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="3c32348c8ac6a8831faf75b084a6108657a3cfc0841fda8d8a182c4ca38c88f800bc60a01df07a2010b9a877e120fc46720f17f11092de5e97f40c36854ba24c Sub-Quote-2.005001.tar.gz" |