summaryrefslogtreecommitdiff
path: root/community/ncdu
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2011-11-25 23:14:55 +0000
commit6a642c093f29814cdd0fdefeee3ab9400eae490f (patch)
treef2edeb17bda6dbc9e784455f1b38f3fcc7e5b64a /community/ncdu
parent5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff)
Fri Nov 25 23:14:55 UTC 2011
Diffstat (limited to 'community/ncdu')
-rw-r--r--community/ncdu/PKGBUILD33
1 files changed, 20 insertions, 13 deletions
diff --git a/community/ncdu/PKGBUILD b/community/ncdu/PKGBUILD
index a9f83e671..2a61a768d 100644
--- a/community/ncdu/PKGBUILD
+++ b/community/ncdu/PKGBUILD
@@ -1,21 +1,28 @@
+# $Id: PKGBUILD 59391 2011-11-24 07:32:15Z bisson $
+
# Contributor: lp76 <l.peduto@gmail.com>
-# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
+# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
pkgname=ncdu
-pkgver=1.7
+pkgver=1.8
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')
+pkgdesc='Disk usage analyzer with an ncurses interface'
+url='http://dev.yorhel.nl/ncdu/'
+license=('custom:MIT')
depends=('ncurses')
-source=(http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz)
-md5sums=('172047c29d232724cc62e773e82e592a')
+arch=('i686' 'x86_64')
+source=("http://dev.yorhel.nl/download/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('3d98e78cf7035e32333d263d301d12e9b4352598')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}