mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 02:36:34 +02:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=spvm-errno
|
|
pkgver=0.093
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=SPVM-Errno
|
|
pkgdesc="SPVM Language - Error Numbers"
|
|
url="https://metacpan.org/release/SPVM-Errno/"
|
|
arch="all !s390x" # spvm
|
|
license="MIT"
|
|
depends="perl spvm"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/K/KI/KIMOTO/SPVM-Errno-$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="
|
|
6ef4206de10c579ee299ee572254e40cd59a5a352859df2ac13fa19a1a5ab283cc794995ca48b3b08e8a0e2a74d63ae0f589bfa48b1a4e4c914efb6be64dfab8 SPVM-Errno-0.093.tar.gz
|
|
"
|