summaryrefslogtreecommitdiff
path: root/community/ncdu
diff options
context:
space:
mode:
Diffstat (limited to 'community/ncdu')
-rw-r--r--community/ncdu/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/ncdu/PKGBUILD b/community/ncdu/PKGBUILD
new file mode 100644
index 000000000..209caf267
--- /dev/null
+++ b/community/ncdu/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 90258 2013-05-10 15:34:37Z jelle $
+
+# Contributor: lp76 <l.peduto@gmail.com>
+# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=ncdu
+pkgver=1.10
+pkgrel=1
+pkgdesc='Disk usage analyzer with an ncurses interface'
+url='http://dev.yorhel.nl/ncdu/'
+license=('custom:MIT')
+depends=('ncurses')
+arch=('i686' 'x86_64')
+source=("http://dev.yorhel.nl/download/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('cf3b5fbb5b69cbae5425bfff2660ac3d8224a605')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}