# Contributor: Natanael Copa # Contributor: Fabian Affolter # Maintainer: Natanael Copa pkgname=pv pkgver=1.7.24 pkgrel=0 pkgdesc="CLI tool for monitoring the progress of data through a pipeline" url="http://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() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 46310e2d297bef1a8a7cbf2a23b2e19b21e367902de6cf759fb1a58275e0351d1f6f1ae101a32acaaa579a16c18ed49b116e58f158c87be527533ebacabd7671 pv-1.7.24.tar.gz "