summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-11-29 21:29:39 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-11-29 21:29:39 +0000
commit4be338f8f100948826a1ef8e1c8cd1ee85cc5cc9 (patch)
tree3af998410e773a92567ac1dfab0f73e25b8b16d0
parent380aba2cc176ac881fdf29a5622c5adad279aff5 (diff)
parentd004956d8ae298313d91bf5f302d8c197eb7471b (diff)
downloadpackages-4be338f8f100948826a1ef8e1c8cd1ee85cc5cc9.tar.gz
packages-4be338f8f100948826a1ef8e1c8cd1ee85cc5cc9.tar.bz2
packages-4be338f8f100948826a1ef8e1c8cd1ee85cc5cc9.tar.xz
packages-4be338f8f100948826a1ef8e1c8cd1ee85cc5cc9.zip
Merge branch 'pv' into 'master'
user/pv: new port See merge request adelie/packages!586
-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..b78efcd77
--- /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="Artistic-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"