Skip to content
Snippets Groups Projects
Commit e7ff54cb authored by Timothy Legge's avatar Timothy Legge
Browse files

main/perl-mro-compat: remove unnecessary perl-dev from makedepends

parent b6604df8
No related branches found
No related tags found
No related merge requests found
...@@ -8,33 +8,26 @@ pkgrel=2 ...@@ -8,33 +8,26 @@ pkgrel=2
pkgdesc="mro::* interface compatibility for Perls < 5.9.5" pkgdesc="mro::* interface compatibility for Perls < 5.9.5"
url="https://metacpan.org/release/MRO-Compat/" url="https://metacpan.org/release/MRO-Compat/"
arch="noarch" arch="noarch"
license="GPL PerlArtistic" license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="" depends="perl"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/$_pkgreal-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
check() { check() {
cd "$builddir"
make test make test
} }
prepare() { prepare() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$builddir"
make make
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
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