Skip to content
Snippets Groups Projects
Commit 40384132 authored by Celeste's avatar Celeste Committed by Natanael Copa
Browse files

testing/perl-*: convert _realname to _pkgreal

parent fb22076d
No related branches found
No related tags found
1 merge request!59444*/perl-*: standardize _pkgreal & expand source URL
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-path-iter
_realname=Path-Iter
_pkgreal=Path-Iter
pkgver=0.2
pkgrel=3
pkgdesc="Simple Efficient Path Iteration"
......@@ -10,22 +10,19 @@ arch="noarch"
license="PerlArtistic"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DM/DMUEY/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
source="https://cpan.metacpan.org/authors/id/D/DM/DMUEY/Path-Iter-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-test-file
_realname=Test-File
_pkgreal=Test-File
pkgver=1.993
pkgrel=1
pkgdesc="test file attributes"
......@@ -11,8 +11,8 @@ license="Artistic-2.0"
depends="perl"
checkdepends="perl-test-utf8"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
......
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=perl-test-utf8
_realname=Test-utf8
_pkgreal=Test-utf8
pkgver=1.02
pkgrel=2
pkgdesc="A collection of tests useful for dealing with utf8 strings"
......@@ -11,8 +11,8 @@ license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-module-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MA/MARKF/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
source="https://cpan.metacpan.org/authors/id/M/MA/MARKF/Test-utf8-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment