mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
testing/perl-text-aspell: fix url fix license
This commit is contained in:
parent
99e55d561a
commit
06aff7c264
1 changed files with 5 additions and 13 deletions
|
@ -4,17 +4,13 @@
|
|||
pkgname=perl-text-aspell
|
||||
_pkgreal=Text-Aspell
|
||||
pkgver=0.09
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Perl interface to the GNU Aspell library"
|
||||
url="http://search.cpan.org/dist/Text-Aspell/"
|
||||
url="https://metacpan.org/release/Text-Aspell"
|
||||
arch="all"
|
||||
license="GPL-1.0-or-later Artistic-1.0-Perl"
|
||||
cpandepends=""
|
||||
cpanmakedepends=""
|
||||
cpancheckdepends=""
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends aspell-dev"
|
||||
checkdepends="$cpancheckdepends aspell-en"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
makedepends="perl-dev aspell-dev"
|
||||
checkdepends="aspell-en"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/H/HA/HANK/$_pkgreal-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
@ -22,25 +18,21 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
|||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cd "$builddir"
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. 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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue