mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 03:39:53 +03:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
|
pkgname=perl-test-file
|
|
pkgver=1.995
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-File
|
|
pkgdesc="test file attributes"
|
|
url="https://metacpan.org/release/Test-File/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/Test-File-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
25038672ae5bc50832972168292e47898eca8b3a6ec951da5eed2e3124fe4ceb7a4447e847ce0696e89ab4c320d60ff71a559ba403b4e3d331d7cab19844ed6d Test-File-1.995.tar.gz
|
|
"
|