upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-test-needs / repos / community-any / PKGBUILD
blobc9c136584feece1437bd22cd6e6f3650c375aa99
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-test-needs
4 pkgver=0.002010
5 pkgrel=1
6 pkgdesc="Skip tests when modules not available"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Test-Needs"
10 depends=('perl')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-$pkgver.tar.gz")
13 sha512sums=('1dde33f0b161a9cb99d1add141706ae015472a16620c38c159e3ae9654d749c275c7a4a979082c2720999305bf25129e7b178a9afdd6f4b4dfc9ee00281c76eb')
15 build() {
16   cd Test-Needs-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Test-Needs-$pkgver
23   make test
26 package() {
27   cd Test-Needs-$pkgver
28   make DESTDIR="$pkgdir" install