1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/community/perl-syntax-keyword-dynamically/APKBUILD

38 lines
1.2 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-syntax-keyword-dynamically
pkgver=0.14
pkgrel=1
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Syntax-Keyword-Dynamically
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"
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 \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
e224eef66dffb5c32f6107a088368306feb6e06a092bc9af9318ec1e1010b4b67fa3b14412dc2c9a4ed6f3b5092f7d13f5287421521088ae695d99ac3b08ceec Syntax-Keyword-Dynamically-0.14.tar.gz
"