diff options
Diffstat (limited to 'community/perl-test-postgresql/APKBUILD')
-rw-r--r-- | community/perl-test-postgresql/APKBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/community/perl-test-postgresql/APKBUILD b/community/perl-test-postgresql/APKBUILD index 3923537b7f7..912b4647c7a 100644 --- a/community/perl-test-postgresql/APKBUILD +++ b/community/perl-test-postgresql/APKBUILD @@ -3,18 +3,18 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-test-postgresql _pkgreal=Test-PostgreSQL -pkgver=1.27 -pkgrel=2 +pkgver=1.29 +pkgrel=1 pkgdesc="PostgreSQL runner for tests" url="https://metacpan.org/release/Test-PostgreSQL/" arch="noarch" license="Artistic-2.0" -cpandepends="perl-class-accessor-lite" -cpanmakedepends="perl-test-sharedfork perl-dbd-pg perl-dbi - perl-test-pod perl-moo perl-type-tiny perl-function-parameters - perl-file-which perl-tie-hash-method perl-module-build-tiny" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends perl-module-install" +depends="perl perl-class-accessor-lite" +makedepends=" + perl-test-sharedfork perl-dbd-pg perl-dbi perl-test-pod perl-moo perl-type-tiny + perl-function-parameters perl-file-which perl-tie-hash-method perl-module-build-tiny + perl-module-install + " checkdepends="perl-try-tiny" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/T/TJ/TJC/$_pkgreal-$pkgver.tar.gz" @@ -22,26 +22,24 @@ builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL --installdirs=vendor } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } check() { - cd "$builddir" - ./Build test + ./Build test } package() { - cd "$builddir" ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="e8f5285b358659fdcde67c711d66307926fb4dab11e70b0a69ebf42308cd879819c15f04aa8703f93a3dc447a806f0a6afb0b7d57cf538c94170c5df66d24d11 Test-PostgreSQL-1.27.tar.gz" +sha512sums=" +8ff40ee0b8548fa8342a7aeb30e3b23d94e594d9ae2de1e708fa7eecffea52d9b797c3e961f7f36ea90b9a23c7593307b169a3fc18c61b7164d7adb96d4c7326 Test-PostgreSQL-1.29.tar.gz +" |