diff --git a/user/perl-cgi-formbuilder/APKBUILD b/user/perl-cgi-formbuilder/APKBUILD new file mode 100644 index 0000000..5b91b4b --- /dev/null +++ b/user/perl-cgi-formbuilder/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +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 +"