mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +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
|
pkgname=perl-text-aspell
|
||||||
_pkgreal=Text-Aspell
|
_pkgreal=Text-Aspell
|
||||||
pkgver=0.09
|
pkgver=0.09
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Perl interface to the GNU Aspell library"
|
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"
|
arch="all"
|
||||||
license="GPL-1.0-or-later Artistic-1.0-Perl"
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
cpandepends=""
|
makedepends="perl-dev aspell-dev"
|
||||||
cpanmakedepends=""
|
checkdepends="aspell-en"
|
||||||
cpancheckdepends=""
|
|
||||||
depends="$cpandepends"
|
|
||||||
makedepends="perl-dev $cpanmakedepends aspell-dev"
|
|
||||||
checkdepends="$cpancheckdepends aspell-en"
|
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://search.cpan.org/CPAN/authors/id/H/HA/HANK/$_pkgreal-$pkgver.tar.gz"
|
source="http://search.cpan.org/CPAN/authors/id/H/HA/HANK/$_pkgreal-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
@ -22,25 +18,21 @@ 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 -I. Makefile.PL INSTALLDIRS=vendor
|
PERL_MM_USE_DEFAULT=1 perl -I. 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
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$builddir"
|
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue