initial import
This commit is contained in:
15
perl-file-slurp/LICENSE
Normal file
15
perl-file-slurp/LICENSE
Normal file
@@ -0,0 +1,15 @@
|
||||
This package was debianized by Alexander Zangerl <az@debian.org>.
|
||||
It was downloaded from http://www.cpan.org/authors/id/U/UR/URI/
|
||||
|
||||
Upstream Author: Uri Guttman <uri@stemsystems.com>
|
||||
|
||||
Copyright:
|
||||
|
||||
"Copyright (C) 2003 Uri Guttman <uri@stemsystems.com>
|
||||
|
||||
Licensed the same as Perl."
|
||||
|
||||
Perl is distributed under your choice of the GNU General Public License or
|
||||
the Artistic License. On Debian GNU/Linux systems, the complete text of the
|
||||
GNU General Public License can be found in `/usr/share/common-licenses/GPL'
|
||||
and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
|
||||
49
perl-file-slurp/PKGBUILD
Normal file
49
perl-file-slurp/PKGBUILD
Normal file
@@ -0,0 +1,49 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-file-slurp
|
||||
pkgver=9999.32
|
||||
_debver=9999.32
|
||||
_debrel=1
|
||||
pkgrel=1
|
||||
pkgdesc="Read/write/append files quickly"
|
||||
arch=('any')
|
||||
url="https://search.cpan.org/dist/File-Slurp"
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
makedepends=('quilt')
|
||||
options=('!emptydirs')
|
||||
source=(https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-$pkgver.tar.gz
|
||||
https://deb.debian.org/debian/pool/main/libf/libfile-slurp-perl/libfile-slurp-perl_$_debver-$_debrel.debian.tar.xz
|
||||
LICENSE)
|
||||
sha512sums=('413337e0257e95e8e8d2aabf684bec81e746000a741809935b058490b8c42b494064f724e618b250330d8bb67a0a7a2a5adad17e3e6c96d4b193531a192a4d56'
|
||||
'5526b7c958e4cea0d36c2baf674ef89d2f4ba97810e617940db0c7f657638e806bbad6e338f26505781e02d31375718fd23ee82da87898e0a1c5df49cc79b325'
|
||||
'b3fe26789164a5133857733d2a5a28c2af3995accb50c147b6158f90efd7c9e35793b21d71b165445d734e281ba5d036d4799a65a4ebc468d49cbcd368d66aac')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/File-Slurp-$pkgver
|
||||
|
||||
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
|
||||
# Debian patches
|
||||
export QUILT_PATCHES=debian/patches
|
||||
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
|
||||
export QUILT_DIFF_ARGS='--no-timestamps'
|
||||
|
||||
mv "$srcdir"/debian .
|
||||
|
||||
quilt push -av
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/File-Slurp-$pkgver
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/File-Slurp-$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