1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/perl-syntax-keyword-dynamically/APKBUILD
Celeste e9fe89cd3d testing/perl-syntax-keyword-dynamically: new aport
https://metacpan.org/release/Syntax-Keyword-Dynamically/
Dynamically change the value of a variable

Needed by testing/perl-tickit-widgets
2023-11-02 11:28:57 +00:00

37 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 3
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=perl-syntax-keyword-dynamically
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Syntax-Keyword-Dynamically
pkgver=0.13
pkgrel=0
pkgdesc="Dynamically change the value of a variable"
url="https://metacpan.org/release/Syntax-Keyword-Dynamically/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-xs-parse-keyword"
makedepends="perl-dev perl-future-asyncawait perl-module-build"
checkdepends="perl-object-pad perl-test2-suite"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Dynamically-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
397167ab849804a682902a916fc6596d0a12a6b66625b4ed50780eced4bee251d4e2f5fe432cb6afb808847b34f05189936741827d370673a88e66dc9dff6944 Syntax-Keyword-Dynamically-0.13.tar.gz
"