From 6b015690b2e6cc5782b080be9d2d67a79e16c817 Mon Sep 17 00:00:00 2001 From: Leo Date: Fri, 27 Sep 2019 06:18:39 -0300 Subject: community/pgbadger: upgrade to 11.1 --- community/pgbadger/APKBUILD | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/community/pgbadger/APKBUILD b/community/pgbadger/APKBUILD index e204da3f02..de565f2f8e 100644 --- a/community/pgbadger/APKBUILD +++ b/community/pgbadger/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Leonardo Arena pkgname=pgbadger -pkgver=11.0 +pkgver=11.1 pkgrel=0 pkgdesc="A fast PostgreSQL Log Analyzer" url="https://github.com/darold/pgbadger" @@ -9,29 +9,24 @@ license="Custom" makedepends="perl-dev perl-json-xs coreutils gzip" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/darold/pgbadger/archive/v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="167534d61cb28df6cb7eae7efe788d3f6bbad1c614468e905a9b678a76b3a2dfc0eb192b595ac4dc332cd694e820f1603b79d83bc934b7dfe3d226019f6a9c15 pgbadger-11.0.tar.gz" +sha512sums="aad3c998fe8b4734cfbfd907a19cde975d2a1f3dd1b6aa26083904ea96e1a38399dbcf2fee2f2bc969037c144ad8ee44a630ce8859fa6e7303d24e6296fc066b pgbadger-11.1.tar.gz" -- cgit v1.2.3