initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-test-differences
_realpkgname=Test-Differences
pkgver=0.67
pkgrel=1
pkgdesc="Perl/CPAN Module Test::Differences"
license=('GPL-1')
url='https://search.cpan.org/dist/Test-Differences'
arch=('any')
depends=('perl-text-diff')
source=("https://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/${_realpkgname}-${pkgver}.tar.gz"
"LICENSE")
sha512sums=('72f5e70d5ed953f50e7fff36645612b8e531354a217de5e7780ee76d72c95e1aed1f1f23a1aaf447b2893246d0c8d0452f2946afa820966d85b2c99dcf9b5ed9'
'b51433787beee8ea7f6a6da3262e0bd5a5427ffc8b0d115a106b32cd2fb1566258f2d5400f9cffaf58460972ed673a8ff92bd314f6d684a3fdb9f93ef0aeb201')
build() {
cd "$srcdir"/$_realpkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir"/$_realpkgname-$pkgver
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
install -Dm644 "$srcdir/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
}