community/pv:

This commit is contained in:
Roberto Oliveira 2017-12-11 01:19:11 +00:00
parent ad7a05e18a
commit 9ee7897d9c

View File

@ -3,13 +3,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pv
pkgver=1.6.6
pkgrel=0
pkgrel=1
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"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="http://www.ivarch.com/programs/sources/pv-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
@ -23,14 +21,18 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
--localstatedir=/var
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
sha512sums="cc841b4bd00e4e8fcaed97da094ebac4a11af1c3f843ce5f73d0c3ab20aca29498c6b1a224c653d40127304d8269d96f413df66b980809e9278ff9544c834a26 pv-1.6.6.tar.bz2"