diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-27 06:18:39 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-27 19:19:46 -0300 |
commit | 6b015690b2e6cc5782b080be9d2d67a79e16c817 (patch) | |
tree | 8c5c3a529c5986d96ee75895d9527c3d43f1990e | |
parent | e0405bfa29794646c1bba05707a08653e5a8324a (diff) | |
download | aports-6b015690b2e6cc5782b080be9d2d67a79e16c817.tar.bz2 aports-6b015690b2e6cc5782b080be9d2d67a79e16c817.tar.xz |
community/pgbadger: upgrade to 11.1
-rw-r--r-- | community/pgbadger/APKBUILD | 13 |
1 files 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 <rnalrd@alpinelinux.org> 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" |