initial import
This commit is contained in:
34
perl-test-differences/LICENSE
Normal file
34
perl-test-differences/LICENSE
Normal file
@@ -0,0 +1,34 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Test-Differences
|
||||
Upstream-Contact: David Cantrell <david@cantrell.org.uk>
|
||||
Source: https://metacpan.org/release/Test-Differences
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2008, Barrie Slaymaker <barries@slaysys.com>
|
||||
2008, Curtis "Ovid" Poe <ovid@cpan.org>
|
||||
2014-2019, David Cantrell <david@cantrell.org.uk>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2003-2004, Jay Bonci <jaybonci@debian.org>
|
||||
2008, Damyan Ivanov <dmn@debian.org>
|
||||
2009, Ignace Mouzannar <mouzannar@gmail.com>
|
||||
2011, Nicholas Bamber <nicholas@periapt.co.uk>
|
||||
2011-2019, gregor herrmann <gregoa@debian.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
License: Artistic
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Artistic License, which comes with Perl.
|
||||
.
|
||||
On Debian systems, the complete text of the Artistic License can be
|
||||
found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: GPL-1+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 1, or (at your option)
|
||||
any later version.
|
||||
.
|
||||
On Debian systems, the complete text of version 1 of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
||||
29
perl-test-differences/PKGBUILD
Normal file
29
perl-test-differences/PKGBUILD
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user