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

main/perl-regexp-common: remove unnecessary perl-dev from makedepends

parent b4e1f251
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ pkgdesc="Provide commonly requested regular expressions" ...@@ -9,7 +9,7 @@ pkgdesc="Provide commonly requested regular expressions"
url="https://metacpan.org/release/Regexp-Common/" url="https://metacpan.org/release/Regexp-Common/"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
makedepends="perl-dev" depends="perl"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/$_pkgreal-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/$_pkgreal-$pkgver.tar.gz"
...@@ -17,25 +17,20 @@ builddir="$srcdir/$_pkgreal-$pkgver" ...@@ -17,25 +17,20 @@ builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { prepare() {
default_prepare default_prepare
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
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