Commit 6b015690 authored by Leo's avatar Leo
Browse files

community/pgbadger: upgrade to 11.1

parent e0405bfa
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment