initial import
This commit is contained in:
28
perl-bytes-random-secure/LICENSE
Normal file
28
perl-bytes-random-secure/LICENSE
Normal file
@@ -0,0 +1,28 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Bytes-Random-Secure
|
||||
Source: https://metacpan.org/release/Bytes-Random-Secure
|
||||
Upstream-Contact: David Oswald <davido@cpan.org>
|
||||
|
||||
Files: *
|
||||
Copyright: 2012, David Oswald <davido@cpan.org>
|
||||
License: Artistic or GPL-1+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2013-2018, 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'.
|
||||
30
perl-bytes-random-secure/PKGBUILD
Normal file
30
perl-bytes-random-secure/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-bytes-random-secure
|
||||
pkgver=0.29
|
||||
pkgrel=1
|
||||
pkgdesc='Perl extension to generate cryptographically-secure random bytes.'
|
||||
arch=('any')
|
||||
license=('GPL-1')
|
||||
options=(!emptydirs)
|
||||
depends=('perl' 'perl-crypt-random-seed' 'perl-math-random-isaac')
|
||||
url='https://metacpan.org/release/Bytes-Random-Secure'
|
||||
source=("https://cpan.metacpan.org/authors/id/D/DA/DAVIDO/Bytes-Random-Secure-$pkgver.tar.gz"
|
||||
"LICENSE")
|
||||
sha512sums=('72faf9e9fff1cc9641845d47b8dd1efb39861b4015246b169167d4f6050998e91d30b53d6a3e08daf91a838fcf29a05042073064204270de05b2f2ca9990fe64'
|
||||
'727d3270c7edc0d1b9e54b041d1fec3bc5f7144765103b3dc0c2b2afce696c32bd63c9ff6adf4b50767f4f3ac9532a069c0ae04b78ccec621f3d4780c026ed3a')
|
||||
_ddir="Bytes-Random-Secure-$pkgver"
|
||||
|
||||
build() (
|
||||
cd "$srcdir/$_ddir"
|
||||
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||||
unset PERL5LIB PERL_MM_OPT
|
||||
/usr/bin/perl Makefile.PL
|
||||
make
|
||||
)
|
||||
|
||||
package() (
|
||||
cd "$srcdir/$_ddir"
|
||||
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
)
|
||||
Reference in New Issue
Block a user