diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-26 00:22:57 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-26 00:22:57 -0700 |
commit | af17de0d89834d615db6d510a2dcaf74c59598ef (patch) | |
tree | 3757aeed57066f04aab531362047ed9fb5c488d5 /user | |
parent | 579115b488251fac1264e3006661377bc7041134 (diff) | |
download | packages-af17de0d89834d615db6d510a2dcaf74c59598ef.tar.gz packages-af17de0d89834d615db6d510a2dcaf74c59598ef.tar.bz2 packages-af17de0d89834d615db6d510a2dcaf74c59598ef.tar.xz packages-af17de0d89834d615db6d510a2dcaf74c59598ef.zip |
user/perl-inline: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-inline/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-inline/APKBUILD b/user/perl-inline/APKBUILD new file mode 100644 index 000000000..032805c28 --- /dev/null +++ b/user/perl-inline/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-inline +pkgver=0.80 +pkgrel=0 +pkgdesc="Write Perl Subroutines in Other Programming Languages" +url="https://metacpan.org/pod/Inline" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-test-warn" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/I/IN/INGY/Inline-$pkgver.tar.gz" +builddir="$srcdir/Inline-$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="e64f7752f32fd07c7c7a975429e04730f2987c9588f99b95502d4e5c87d458736a606c03943a68660940c3987cd632ad2f75ec3862342956c1754b1aca86e0bb Inline-0.80.tar.gz" |