aports/testing/perl-test-describeme/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

38 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-test-describeme
pkgver=0.004
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-DescribeMe
pkgdesc="Tell test runners what kind of test you are"
url="https://metacpan.org/release/Test-DescribeMe/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-test-settings"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/W/WO/WOLFSAGE/Test-DescribeMe-$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="
cfbdf4497393f49139f78699d47f9ebcafbb1021b1c8281633623c8c65bb97a77e8b21d6cb6eb2ea145fd3cfa5a1e1172b1b86f0f40f21b5cec970512347fb37 Test-DescribeMe-0.004.tar.gz
"