diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 11:45:39 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-26 11:45:39 +0000 |
commit | 41cbea8c42bfd576b453a28baeb510f05d27ed6a (patch) | |
tree | 77f1d53a3e53ee4c3f2f779b80d226d07c03663d /community/perl-html-template | |
parent | 1e2da3c466d3342a5b7eb9f6f846fdb75e0cfc0f (diff) | |
download | aports-41cbea8c42bfd576b453a28baeb510f05d27ed6a.tar.bz2 aports-41cbea8c42bfd576b453a28baeb510f05d27ed6a.tar.xz |
community/perl-html-template: moved from testing, fixed build
Diffstat (limited to 'community/perl-html-template')
-rw-r--r-- | community/perl-html-template/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-html-template/APKBUILD b/community/perl-html-template/APKBUILD new file mode 100644 index 0000000000..9f8876aa86 --- /dev/null +++ b/community/perl-html-template/APKBUILD @@ -0,0 +1,39 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-html-template +_pkgreal=HTML-Template +pkgver=2.95 +pkgrel=1 +pkgdesc="Perl module to use HTML-like templating language" +url="http://search.cpan.org/dist/HTML-Template/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-cgi" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/W/WO/WONKO/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="6f08e9631af52e6a5f6e4648b89265fe HTML-Template-2.95.tar.gz" +sha256sums="78100adaea7a56ae65826220fcb0c18a188df25a27227f96175cf7169fbb501d HTML-Template-2.95.tar.gz" +sha512sums="4b52856c7ac97a6c7985c73492aa5074f90b6b7f89dfb2434487a2cfeb9d521e55afe4e77c33285042e3d391fe6e9fc86a3f58bb6850d94f1331bb7be9809be7 HTML-Template-2.95.tar.gz" |