aports/testing/perl-text-table-any/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

39 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-text-table-any
pkgver=0.117
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Text-Table-Any
pkgdesc="Generate text table using one of several backends"
url="https://metacpan.org/release/Text-Table-Any/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-text-table-sprintf"
checkdepends="perl-test-exception"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Text-Table-Any-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
ee0e0b9a4150fc289c49cedc6da49f8757e681aa0d862cad5e67dbb43df73a9a11f98127efbde086335cb4f616943e398f79991aa42d919dd2c85d13a9b8c7d2 Text-Table-Any-0.117.tar.gz
"