# Contributor: Natanael Copa # Contributor: Fabian Affolter # Maintainer: Natanael Copa pkgname=pv pkgver=1.8.9 pkgrel=0 pkgdesc="CLI tool for monitoring the progress of data through a pipeline" url="https://www.ivarch.com/programs/pv.shtml" arch="all" license="Artistic-2.0" subpackages="$pkgname-doc" source="https://www.ivarch.com/programs/sources/pv-$pkgver.tar.gz" build() { CFLAGS="$CFLAGS -flto=auto" \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-nls make } check() { # IPC tests fail when running in parallel make -j1 check } package() { make DESTDIR="$pkgdir" install } sha512sums=" d6e483d2cb5ef3def1df9c72774ab70a5210e7a45f165d3d1527f11366e7bbab57320f1987d460783eda94605a17c5ef2a027fa4a7e9d58b529f4b1b05ec07a8 pv-1.8.9.tar.gz "