mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 13:16:45 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Nick Andrew <nick@nick-andrew.net>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-test-timer
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Timer
|
|
pkgver=2.12
|
|
pkgrel=2
|
|
pkgdesc="test module to test/assert response times"
|
|
url="https://metacpan.org/release/Test-Timer/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-error"
|
|
makedepends="perl-module-build"
|
|
checkdepends="perl-test-fatal"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/J/JO/JONASBN/Test-Timer-$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="
|
|
1a97676fccca9f8daae550942ab5dcd28bf121d781518b41bfc846ed5e63723e64608a24a001ff8462e7f9e6019e727ed4bf88ddb13e0e3428093abe42eb71ee Test-Timer-2.12.tar.gz
|
|
"
|