summaryrefslogblamecommitdiff
path: root/user/pv/APKBUILD
blob: 0ce00feabe9c8f59876cc7347fe312a14f483be4 (plain) (tree)

































                                                                                                                                                               
# Contributor: CyberLeo <cyberleo@cyberleo.net>
# Maintainer: CyberLeo <cyberleo@cyberleo.net>
pkgname=pv
pkgver=1.6.6
pkgrel=0
pkgdesc="Pipe Viewer - a terminal-based tool for monitoring the progress of data through a pipeline."
url="https://www.ivarch.com/programs/pv.shtml"
arch="all"
license="ART-2.0"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-lang"
source="https://www.ivarch.com/programs/sources/pv-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="cc841b4bd00e4e8fcaed97da094ebac4a11af1c3f843ce5f73d0c3ab20aca29498c6b1a224c653d40127304d8269d96f413df66b980809e9278ff9544c834a26  pv-1.6.6.tar.bz2"