initial import
This commit is contained in:
39
perl-clone/LICENSE
Normal file
39
perl-clone/LICENSE
Normal file
@@ -0,0 +1,39 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Clone
|
||||
Source: https://metacpan.org/release/Clone
|
||||
Upstream-Contact: Ray Finch <rdf@cpan.org>
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2019, Ray Finch <rdf@cpan.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: t/dclone.t
|
||||
t/dump.pl
|
||||
t/tied.pl
|
||||
Copyright: 1995-2000, Raphael Manfredi
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2004-2007, Bastian Blank <waldi@debian.org>
|
||||
2008, Brian Cassidy <brian.cassidy@gmail.com>
|
||||
2008, Gunnar Wolf <gwolf@debian.org>
|
||||
2008-2011, Ansgar Burchardt <ansgar@debian.org>
|
||||
2008-2020, gregor herrmann <gregoa@debian.org>
|
||||
2012-2018, Xavier Guimard <yadd@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-clone/PKGBUILD
Normal file
29
perl-clone/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-clone
|
||||
pkgver=0.45
|
||||
pkgrel=1
|
||||
pkgdesc='Recursive copy of nested objects.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://search.cpan.org/~RDF/Clone'
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/A/AT/ATOOMIC/Clone-$pkgver.tar.gz"
|
||||
"LICENSE")
|
||||
sha512sums=('4d91580fb60876cca7670411748e42e6af0eaba8fac25d60e7a50685ae7b1e697e12c8a2835693e3e4abf3c13c060a2740344eb804ec26ed274b895f599340af'
|
||||
'681147cef480fdd05b2702ed8bc3291c47c9cc9b7e6eada74d509c9eaede94f109a7a3692db58d6fe3f098e7013cfc7013b339ee43becedb0232c08cc797cce0')
|
||||
|
||||
build() {
|
||||
cd Clone-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Clone-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
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