initial import
This commit is contained in:
32
perl-test-exception/LICENSE
Normal file
32
perl-test-exception/LICENSE
Normal file
@@ -0,0 +1,32 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Test-Exception
|
||||
Upstream-Contact: Adrian Howard <adrianh@quietstars.com>
|
||||
Source: https://metacpan.org/release/Test-Exception
|
||||
|
||||
Files: *
|
||||
Copyright: 2002-2007, Adrian Howard <adrianh@quietstars.com>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2003-2007, Jay Bonci <jaybonci@debian.org>
|
||||
2008-2016, gregor herrmann <gregoa@debian.org>
|
||||
2010, Jonathan Yu <jawnsy@cpan.org>
|
||||
2013, Florian Schlichting <fsfs@debian.org>
|
||||
2015, Lucas Kanashiro <kanashiro.duarte@gmail.com>
|
||||
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-exception/PKGBUILD
Normal file
29
perl-test-exception/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-test-exception
|
||||
_realpkgname=Test-Exception
|
||||
pkgver=0.43
|
||||
pkgrel=1
|
||||
pkgdesc="Perl/CPAN Module Test::Exception : Functions for testing exceptionbased code"
|
||||
arch=('any')
|
||||
url='https://search.cpan.org/dist/Test-Exception/'
|
||||
license=('GPL-1')
|
||||
depends=("perl-sub-uplevel")
|
||||
source=("https://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/${_realpkgname}-${pkgver}.tar.gz"
|
||||
"LICENSE")
|
||||
sha512sums=('f5ab65ce7b142ab7a96b0075838826a7f6b975a151a285e00d99db307bea07b359d5ca44eb678ba93d97b2ae37a112f0002ae1c06bb6e5654b80ce8c5473aa20'
|
||||
'93aafec318a59929dd3a54a402497ac8fbe0ed9a60ba031124ebb8f37efa27e8066cb8b1593e492252c7bf416cc7a8e7696b3f5bac4df7c556b168bdfaa52d86')
|
||||
|
||||
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