summaryrefslogtreecommitdiff
path: root/user/pv
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-11-08 02:05:52 -0600
committerCyberLeo <cyberleo@cyberleo.net>2020-11-08 02:05:52 -0600
commit81f7cbeab0f64990c6180054bde69fe2f1ce8344 (patch)
treefb52addfbb6ef67bba75ea1cd34727e7dbc763cd /user/pv
parent6158245fe30195534a262bb8168425748774c5ca (diff)
downloadpackages-81f7cbeab0f64990c6180054bde69fe2f1ce8344.tar.gz
packages-81f7cbeab0f64990c6180054bde69fe2f1ce8344.tar.bz2
packages-81f7cbeab0f64990c6180054bde69fe2f1ce8344.tar.xz
packages-81f7cbeab0f64990c6180054bde69fe2f1ce8344.zip
user/pv: new port
Diffstat (limited to 'user/pv')
-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"