upgpkg: perl-filehandle-unget 0.1634-3
formatting
This commit is contained in:
parent
f4f779d924
commit
1520c9da48
@ -4,14 +4,13 @@ pkgbase = perl-filehandle-unget
|
||||
pkgrel = 3
|
||||
url = http://search.cpan.org/dist/FileHandle-Unget
|
||||
arch = any
|
||||
license = GPL
|
||||
license = PerlArtistic
|
||||
license = GPL-2.0-only
|
||||
checkdepends = perl-test-compile
|
||||
checkdepends = perl-file-slurper
|
||||
checkdepends = perl-universal-require
|
||||
depends = perl
|
||||
options = !emptydirs
|
||||
source = http://cpan.perl.org/modules/by-module/FileHandle/FileHandle-Unget-0.1634.tar.gz
|
||||
source = perl-filehandle-unget-0.1634.tar.gz::http://cpan.perl.org/modules/by-module/FileHandle/FileHandle-Unget-0.1634.tar.gz
|
||||
b2sums = b7f4993e1247ac5b80828ba56137acde6660576934d42abb9628ef4afbd82b69849a95670625ce56044c12636fc81b5aab4297135b17cc4af2f4651beabaff4a
|
||||
|
||||
pkgname = perl-filehandle-unget
|
||||
|
@ -1,22 +1,21 @@
|
||||
# Maintainer: Giovanni Harting <539@idlegandalf.com>
|
||||
|
||||
_perlmod=FileHandle-Unget
|
||||
_modnamespace=FileHandle
|
||||
pkgname=perl-filehandle-unget
|
||||
_dist=FileHandle-Unget
|
||||
pkgver=0.1634
|
||||
pkgrel=3
|
||||
pkgdesc="FileHandle which supports multi-byte unget"
|
||||
pkgdesc='FileHandle which supports multi-byte unget'
|
||||
arch=(any)
|
||||
url="http://search.cpan.org/dist/$_perlmod"
|
||||
license=(GPL PerlArtistic)
|
||||
url="http://search.cpan.org/dist/$_dist"
|
||||
license=(GPL-2.0-only)
|
||||
depends=(perl)
|
||||
checkdepends=(perl-test-compile perl-file-slurper perl-universal-require)
|
||||
options=(!emptydirs)
|
||||
source=("http://cpan.perl.org/modules/by-module/$_modnamespace/$_perlmod-$pkgver.tar.gz")
|
||||
source=("$pkgname-$pkgver.tar.gz::http://cpan.perl.org/modules/by-module/${_dist%-*}/$_dist-$pkgver.tar.gz")
|
||||
b2sums=('b7f4993e1247ac5b80828ba56137acde6660576934d42abb9628ef4afbd82b69849a95670625ce56044c12636fc81b5aab4297135b17cc4af2f4651beabaff4a')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
cd $_dist-$pkgver
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||||
/usr/bin/perl Makefile.PL
|
||||
@ -24,14 +23,14 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
cd $_dist-$pkgver
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_perlmod-$pkgver"
|
||||
cd $_dist-$pkgver
|
||||
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
|
||||
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user