summaryrefslogtreecommitdiff
path: root/community/pv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pv/PKGBUILD')
-rw-r--r--community/pv/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/pv/PKGBUILD b/community/pv/PKGBUILD
new file mode 100644
index 000000000..d0420c243
--- /dev/null
+++ b/community/pv/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 84287 2013-02-15 14:40:03Z lfleischer $
+# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: Aaron Schaefer <aaron@elasticdog.com>
+
+pkgname=pv
+pkgver=1.4.6
+pkgrel=1
+pkgdesc='A terminal-based tool for monitoring the progress of data through a pipeline.'
+arch=('i686' 'x86_64')
+url='http://www.ivarch.com/programs/pv.shtml'
+license=('custom:Artistic 2.0')
+depends=('glibc')
+source=("http://www.ivarch.com/programs/sources/$pkgname-$pkgver.tar.bz2")
+md5sums=('d55ff76f5caa83efc23aa527dbb0b191')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 doc/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}