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

main/perl-sub-quote: remove unnecessary perl-dev from makedepends

parent 7261fbaa
No related branches found
No related tags found
No related merge requests found
......@@ -9,36 +9,29 @@ pkgdesc="Efficient generation of subroutines via string eval"
url="https://metacpan.org/release/Sub-Quote"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpancheckdepends="perl-test-fatal"
depends="perl"
makedepends="perl-dev"
checkdepends="$cpancheckdepends"
checkdepends="perl-test-fatal"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Sub-Quote-$pkgver.tar.gz"
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
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
......
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