user/perl-cgi-formbuilder: in community

This commit is contained in:
Antoine Martin 2023-12-05 14:23:55 -05:00
parent 0f2b0e8155
commit daf247f0aa
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,39 +0,0 @@
# 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
"