blob: db7b8bc1ff59ae4a3723d46ba0d1fa215b3073cc (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-variable-magic
_pkgreal=Variable-Magic
_author=VPIT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.63
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 OR GPL-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="f815d71ffda0fc88b75716fb843a5dcb122b678ce0cb58ac23411af88b7b01180d401519db1b9801c5ee2942ae7b81d6c3d4284ceb57ed3f51d546fb77135611 Variable-Magic-0.63.tar.gz"
|