2025-01-03 07:58:59 +00:00
|
|
|
# Automatically generated by apkbuild-cpan, template 4
|
2018-01-06 16:34:37 +00:00
|
|
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
|
|
pkgname=perl-test-file
|
2025-04-19 17:39:49 +00:00
|
|
|
pkgver=1.995
|
2025-01-03 07:58:59 +00:00
|
|
|
pkgrel=0
|
|
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
2024-01-23 05:06:10 +00:00
|
|
|
_pkgreal=Test-File
|
2021-02-20 23:33:28 -03:00
|
|
|
pkgdesc="test file attributes"
|
2025-01-03 07:58:59 +00:00
|
|
|
url="https://metacpan.org/release/Test-File/"
|
2018-01-06 16:34:37 +00:00
|
|
|
arch="noarch"
|
2021-01-06 20:24:12 -03:00
|
|
|
license="Artistic-2.0"
|
|
|
|
depends="perl"
|
2018-01-06 16:34:37 +00:00
|
|
|
subpackages="$pkgname-doc"
|
2025-01-03 07:58:59 +00:00
|
|
|
source="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Test-File-$pkgver.tar.gz"
|
2024-01-23 05:06:10 +00:00
|
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
2018-01-06 16:34:37 +00:00
|
|
|
|
|
|
|
build() {
|
2025-01-03 07:58:59 +00:00
|
|
|
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
|
2018-01-06 16:34:37 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2025-01-03 07:58:59 +00:00
|
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
2018-01-06 16:34:37 +00:00
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2022-06-21 17:44:38 +08:00
|
|
|
sha512sums="
|
2025-04-19 17:39:49 +00:00
|
|
|
25038672ae5bc50832972168292e47898eca8b3a6ec951da5eed2e3124fe4ceb7a4447e847ce0696e89ab4c320d60ff71a559ba403b4e3d331d7cab19844ed6d Test-File-1.995.tar.gz
|
2022-06-21 17:44:38 +08:00
|
|
|
"
|