Commit 34eb6b89 authored by Timothy Legge's avatar Timothy Legge

community/perl-ref-util: move from testing and modernize

parent 466cd6f7
# Automatically generated by apkbuild-cpan, template 1
# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Sergey Safarov <s.safarov@gmail.com>
pkgname=perl-ref-util
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Ref-Util
pkgver=0.204
pkgrel=0
pkgrel=1
pkgdesc="Utility functions for checking references"
url="https://metacpan.org/release/Ref-Util"
url="https://metacpan.org/release/Ref-Util/"
arch="noarch"
license="MIT"
makedepends="perl-dev $cpanmakedepends"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AR/ARC/Ref-Util-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment