mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
32 lines
918 B
Text
32 lines
918 B
Text
# Automatically generated by apkbuild-cpan, template 1
|
|
# Maintainer: Sergey Safarov <s.safarov@gmail.com>
|
|
pkgname=perl-ref-util
|
|
_pkgreal=Ref-Util
|
|
pkgver=0.204
|
|
pkgrel=0
|
|
pkgdesc="Utility functions for checking references"
|
|
url="https://metacpan.org/release/Ref-Util"
|
|
arch="noarch"
|
|
license="MIT"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="12834e13de5578232e40ba308e97786c60fcec4da9dc0b2922506d42645e8b3c3234663cf3b9c1dc374772107de953ed49ba8b52a2bac79183e3860338c0b288 Ref-Util-0.204.tar.gz"
|