Files
extra/perl-test-deep/PKGBUILD
2025-06-22 20:39:04 -05:00

30 lines
1006 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-test-deep
pkgver=1.130
pkgrel=2
pkgdesc="Extremely flexible deep comparison"
arch=('any')
url='https://search.cpan.org/dist/Test-Deep'
license=('GPL-1')
depends=('perl-test-nowarnings')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Deep-$pkgver.tar.gz
COPYING)
sha512sums=('de34197c97d44c68dd43372fa5a4d905a2ad636b5503c5f1443476a85b921f42cd07d475af8901dfee9deff1f29deef440c1783cdcc7f93c5f5030c4548ff9cf'
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
build() {
cd "$srcdir"/Test-Deep-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir"/Test-Deep-$pkgver
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
install -Dm644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}