upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-test-minimumversion / trunk / PKGBUILD
blobc39dd825edd68d18f76b949a46ff479ff84e43dd
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-test-minimumversion
4 pkgver=0.101083
5 pkgrel=1
6 pkgdesc="Does your code require newer perl than you think?"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Test-MinimumVersion"
10 depends=('perl-file-find-rule' 'perl-file-find-rule-perl' 'perl-perl-minimumversion')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-MinimumVersion-$pkgver.tar.gz")
13 sha512sums=('f35dcb6f902d36bf4244955d7e73e9cb6182aef716aeeff9d090de0e070e2c363ce9c8d7548a897a834d983facfbb3226122bc96e8105e19b7555ee89eb31acb')
15 build() {
16   cd Test-MinimumVersion-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Test-MinimumVersion-$pkgver
23   make test
26 package() {
27   cd Test-MinimumVersion-$pkgver
28   make DESTDIR="$pkgdir" install