upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-test-subcalls / trunk / PKGBUILD
blob96dddf4dd616ae16f9cf64b54f94d96b47208f9b
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-test-subcalls
4 pkgver=1.10
5 pkgrel=5
6 pkgdesc="Track the number of times subs are called"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Test-SubCalls"
10 depends=('perl-hook-lexwrap')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-SubCalls-$pkgver.tar.gz")
13 sha512sums=('67c64eeb9dbf7ed2f5fd4461316ee44cba4f503c6b822a5fb8c3f100c3d4de7ac09058afc0cdf355549829d8e412d1919bc64a1f3030f16f38775b029936a4f9')
15 build() {
16   cd Test-SubCalls-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Test-SubCalls-$pkgver
23   make test
26 package() {
27   cd Test-SubCalls-$pkgver
28   make DESTDIR="$pkgdir" install