summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/PKGBUILD
blob: fb61b63c0917c9674f7a2b67cc96a469fe8c62a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: lp76 <l.peduto@gmail.com>
pkgname=ncdu
pkgver=1.4
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=('07f01579f7c9852033139ae9fa2414c9')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$pkgdir install || return 1
  install -D COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}