upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-cgi-formbuilder / trunk / PKGBUILD
blob08134136f82a0efdabef4175cdca45bdcc536591
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-cgi-formbuilder
4 pkgver=3.10
5 pkgrel=5
6 pkgdesc="Easily generate and process stateful forms"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/CGI-FormBuilder"
10 depends=('perl')
11 makedepends=('perl-html-template' 'perl-text-template' 'perl-template-toolkit' 'perl-cgi-session')
12 checkdepends=('perl-cgi')
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/CGI-FormBuilder-$pkgver.tar.gz")
15 sha512sums=('38d8e6eb729e188074d872b979ad46133152877bb30b95329a2c7275154646a4afb62dc3539cb34781149f424b1d384d05230efe8b174967742625a81765bad5')
17 build() {
18   cd CGI-FormBuilder-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd CGI-FormBuilder-$pkgver
25   make test
28 package() {
29   cd CGI-FormBuilder-$pkgver
30   make DESTDIR="$pkgdir" install