ayaports/user/perl-cgi-formbuilder/APKBUILD

40 lines
924 B
Text
Raw Normal View History

2023-08-13 21:37:51 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=perl-cgi-formbuilder
_pkgname=CGI-FormBuilder
pkgver=3.10
pkgrel=0
pkgdesc="Easily generate and process stateful forms"
arch="noarch"
url="https://metacpan.org/release/CGI-FormBuilder"
license="Artistic-1.0-Perl"
depends="perl"
makedepends="
perl-html-template
perl-text-template
perl-template-toolkit
perl-cgi-session
"
checkdepends="perl-cgi"
source="https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/$_pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
38d8e6eb729e188074d872b979ad46133152877bb30b95329a2c7275154646a4afb62dc3539cb34781149f424b1d384d05230efe8b174967742625a81765bad5 CGI-FormBuilder-3.10.tar.gz
"