summaryrefslogtreecommitdiff
path: root/user/pv/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/pv/APKBUILD')
-rw-r--r--user/pv/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/pv/APKBUILD b/user/pv/APKBUILD
new file mode 100644
index 000000000..0ce00feab
--- /dev/null
+++ b/user/pv/APKBUILD
@@ -0,0 +1,34 @@
+# 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"