blob: 5f7e76d9ada25b27f245bdd31dcc59cadd7ddf7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Sergey Safarov <s.safarov@gmail.com>
pkgname=perl-ref-util
_pkgreal=Ref-Util
pkgver=0.203
pkgrel=0
pkgdesc="Utility functions for checking references"
url="http://search.cpan.org/dist/Ref-Util/"
arch="noarch"
license="MIT"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AR/ARC/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="bf0b1cde5adf869377aaee3c6a8fa8f40fc852c70f20dafdb3d7f3b7718eb19738a4d53c243e9809b7cff9e2e49a871f0336b4288b96048e91ae48634d12a392 Ref-Util-0.203.tar.gz"
|