initial import
This commit is contained in:
34
perl-test-warn/LICENSE
Normal file
34
perl-test-warn/LICENSE
Normal file
@@ -0,0 +1,34 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Test-Warn
|
||||
Upstream-Contact: Janek Schleicher <bigj@kamelfreund.de>
|
||||
Source: https://metacpan.org/release/Test-Warn
|
||||
|
||||
Files: *
|
||||
Copyright:
|
||||
2002, 2015-2018, Janek Schleicher <bigk@kamelfreund.de>
|
||||
2007-2016, Alexandr Ciornii <alexchorny@gmail.com>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2003, 2004, 2007, Jay Bonci <jaybonci@debian.org>
|
||||
2006, Marc 'HE' Brockschmidt <he@debian.org>
|
||||
2008-2018, gregor herrmann <gregoa@debian.org>
|
||||
2009, Damyan Ivanov <dmn@debian.org>
|
||||
2010-2011, Nicholas Bamber <nicholas@periapt.co.uk>
|
||||
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
|
||||
General Public License can be found in `/usr/share/common-licenses/GPL-1'.
|
||||
30
perl-test-warn/PKGBUILD
Normal file
30
perl-test-warn/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-test-warn
|
||||
_realpkgname=Test-Warn
|
||||
pkgver=0.36
|
||||
pkgrel=1
|
||||
pkgdesc="Perl extension to test methods for warnings "
|
||||
arch=('any')
|
||||
url='https://search.cpan.org/dist/Test-Warn/'
|
||||
license=('GPL-1')
|
||||
depends=('perl-tree-dag-node' 'perl-sub-uplevel>=0.12' 'perl>=5.10.0')
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/B/BI/BIGJ/${_realpkgname}-${pkgver}.tar.gz"
|
||||
"LICENSE")
|
||||
sha512sums=('f1f671d740267f8f360011ae1f2fede9894ad02e099f8fc9707d39a1bfec5507b113bb630e4dfeb56113e121b3ffeef8c7f112be5b201995fc21b3c2efdad2d2'
|
||||
'abe4a28a0e5b3c5aff89539e5c0bfdccb1d9548c4fa649c0a7856408c3d6cfea42e7837815ea2803450de6b5a22601928c999689f4956d8c47c9972b7846e49b')
|
||||
|
||||
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