1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/perl-unicode-collate/APKBUILD
Hugo Osvaldo Barrera cdd3ce01ff */*: drop redundant CARGO_PROFILE_* variables, collapse newlines
The cargo vars are now set in abuild.conf by default.

Newlines done with:

    find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \;

See also: https://stackoverflow.com/a/4522043
2023-01-07 02:42:07 +01:00

40 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-unicode-collate
_pkgreal=Unicode-Collate
pkgver=1.31
pkgrel=1
pkgdesc="Unicode Collation Algorithm"
url="https://metacpan.org/release/Unicode-Collate/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
doc() {
default_doc
replaces="perl-doc"
}
sha512sums="
fff8f06ae561100006ce0ab2aabe561e27fee30237db8da804c94c70eee9787e05b19c5908614ddbb3b263a0fdaea9a9933bc74818951e009a280afa782e19d1 Unicode-Collate-1.31.tar.gz
"