Commit 7b9af7fc authored by Leo's avatar Leo Committed by Timo Teräs

main/perl-inline: fix license, modernize

- Fix wrong license
- use $() instead of backticks ``
parent cf27c567
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
pkgname=perl-inline pkgname=perl-inline
_pkgname=Inline _pkgname=Inline
pkgver=0.83 pkgver=0.83
pkgrel=0 pkgrel=1
pkgdesc="Write Perl subroutines in other programming languages" pkgdesc="Write Perl subroutines in other programming languages"
url="http://search.cpan.org/~ingy/Inline/" url="http://search.cpan.org/~ingy/Inline/"
arch="noarch" arch="noarch"
license="Artistic-1.0-Perl" license="Artistic-1.0-Perl GPL-1.0-or-later"
depends="perl" depends="perl"
makedepends="perl-dev" makedepends="perl-dev"
checkdepends="perl-test-warn" checkdepends="perl-test-warn"
...@@ -17,12 +17,12 @@ builddir="$srcdir"/$_pkgname-$pkgver ...@@ -17,12 +17,12 @@ builddir="$srcdir"/$_pkgname-$pkgver
prepare() { prepare() {
default_prepare default_prepare
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() {
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make make
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment