diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:50:40 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:50:40 +0000 |
commit | 02f407488b36ca32ff75bbf6b6e0baeeae6efc9e (patch) | |
tree | b0e17800c3ef31dda4d626d95cd79a08e813aa25 | |
parent | 35bb965d48bca7b0e51dbf03c894ac4c82f3efcb (diff) | |
download | packages-02f407488b36ca32ff75bbf6b6e0baeeae6efc9e.tar.gz packages-02f407488b36ca32ff75bbf6b6e0baeeae6efc9e.tar.bz2 packages-02f407488b36ca32ff75bbf6b6e0baeeae6efc9e.tar.xz packages-02f407488b36ca32ff75bbf6b6e0baeeae6efc9e.zip |
user/perl-variable-magic: new package
-rw-r--r-- | user/perl-variable-magic/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-variable-magic/APKBUILD b/user/perl-variable-magic/APKBUILD new file mode 100644 index 000000000..605369668 --- /dev/null +++ b/user/perl-variable-magic/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-variable-magic +pkgver=0.62 +pkgrel=0 +pkgdesc="Associate user-defined magic to variables from Perl" +url="https://metacpan.org/release/Variable-Magic" +arch="all" +license="Artistic-1.0-Perl" +depends="" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-$pkgver.tar.gz" +builddir="$srcdir/Variable-Magic-$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="fdaad8ab1a16a4723e30a155086f7f9ecad60b021b0ca5d449a0bc001b858a53e2857cfdc3fc4e3dcc28e2f59a14f3531afd93e3f71fda3b8fcaa8bc50d0c380 Variable-Magic-0.62.tar.gz" |