mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
|
|
# Maintainer: Milan P. Stanić <mps@arvanta.net>
|
|
pkgname=perl-text-aspell
|
|
_pkgreal=Text-Aspell
|
|
pkgver=0.09
|
|
pkgrel=3
|
|
pkgdesc="Perl interface to the GNU Aspell library"
|
|
url="https://metacpan.org/release/Text-Aspell"
|
|
arch="all"
|
|
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"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
sha512sums="6e7f2a8f48f3d735d9162333c4d30a0ffcdc4a002cffc51f284759a1e89e0a79c0bf94e2af577f381613a114f1ede134f01db36367d443a81ba8d028a4a8c65b Text-Aspell-0.09.tar.gz"
|