aports/main/perl-module-build-tiny/APKBUILD
Natanael Copa 8bac74716d main: remove my contributor comment
git log is enough for me
2025-01-03 18:05:21 +01:00

45 lines
1.1 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-module-build-tiny
pkgver=0.051
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Module-Build-Tiny
pkgdesc="Tiny replacement for Module::Build"
url="https://metacpan.org/release/Module-Build-Tiny/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl
perl-extutils-config
perl-extutils-helpers
perl-extutils-installpaths
"
checkdepends="
perl-dev
perl-cpan-requirements-dynamic
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
205e509c752caf284ccf981864b59ee69238b2255c4ece03f06e9f4482922c2b4c1abaf2037d57232b87e70c5f566bab5cd01006a9017b996c91846eee6b7eb2 Module-Build-Tiny-0.051.tar.gz
"