Skip to content
Snippets Groups Projects

Draft: testing: two commits perl-readonly-tiny perl-test-exports

Closed Timothy Legge requested to merge timlegge/aports:perl-readonly-tiny into master
2 files
+ 72
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 36
0
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-readonly-tiny
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Readonly-Tiny
pkgver=4
pkgrel=1
pkgdesc="Simple, correct readonly values"
url="https://metacpan.org/release/Readonly-Tiny/"
arch="noarch"
license="bsd"
depends="perl"
makedepends="perl-test-exception perl-test-exports perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BM/BMORROW/Readonly-Tiny-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
5c256eda1af70bc05b630897d247d6e0f90ae8139687e2281e47240bb9c999e69ce88b588d4b7387edfe395b90a1ae0b884808180798e7b9149945b8aa68a612 Readonly-Tiny-4.tar.gz
"
Loading