app=pv
version=1.6.6
build=1sml
homepage="http://www.ivarch.com/programs/pv.shtml"
download="http://www.ivarch.com/programs/sources/pv-$version.tar.bz2"
desc="Pipe Viewer for monitoring progress of data through pipeline"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$pkg 

  cp doc/COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
3642ae4c2e743bc3d037e86afadf4ebecf60afa3662f071ec123e3278402be7a40c34783f86b7bbf3f59f5ab10269ebd32c498ae12698d56556d7aa2f41387be  pv-1.6.6.tar.gz
"
