mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-16 20:27:35 +02: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.994
|
|
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="
|
|
b94106c669c7400a2f156c84b010170f04f472c5ebe0acd160892fa143491df489157f5e6642da9f6d512643cdbeb0c259701eb5c9566eecb2be5e2455348c13 Test-File-1.994.tar.gz
|
|
"
|