summaryrefslogtreecommitdiff
path: root/community/ncdu
diff options
context:
space:
mode:
Diffstat (limited to 'community/ncdu')
-rw-r--r--community/ncdu/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/ncdu/PKGBUILD b/community/ncdu/PKGBUILD
new file mode 100644
index 000000000..a9f83e671
--- /dev/null
+++ b/community/ncdu/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: lp76 <l.peduto@gmail.com>
+# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
+pkgname=ncdu
+pkgver=1.7
+pkgrel=1
+pkgdesc="An NCurses version of the famous old 'du' unix command"
+arch=('i686' 'x86_64')
+url="http://dev.yorhel.nl/ncdu/"
+license=('MIT')
+depends=('ncurses')
+source=(http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz)
+md5sums=('172047c29d232724cc62e773e82e592a')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}