blob: fd5dfd789b0275c97055eb4d5cbb09043df8003f (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-template-gd
_pkgname=Template-GD
pkgver=2.66
pkgrel=0
pkgdesc="Use GD from Perl's Template Toolkit"
url="https://metacpan.org/release/Template-GD"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-gd perl-template-toolkit"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AB/ABW/Template-GD-$pkgver.tar.gz"
builddir="$srcdir/Template-GD-$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="676b9a2345dbdf65b276a2cf2e50033d91ad958fc579d4bd02516baf9994cb1ca64edbedd320da0eb58738783054f8a58e358bc1da5c128bea98d4f031b0c84c Template-GD-2.66.tar.gz"
|