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

main/perl-module-refresh: remove unnecessary perl-dev from makedepends

parent e41c512a
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,9 @@ pkgrel=3
pkgdesc="Refresh %INC files when updated on disk"
url="https://metacpan.org/release/Module-Refresh/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-path-class"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-install"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-path-class perl-module-install"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/$_pkgreal-$pkgver.tar.gz"
......@@ -20,25 +18,20 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
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