Username: Password: Remember me
# Maintainer: Marcos Heredia <chelqo@gmail.com>
 
pkgname=ncdu
pkgver=1.14.1
pkgrel=1
pkgdesc="ncdu (NCurses Disk Usage) is a curses-based version of du"
arch=('i686' 'x86_64')
url="http://dev.yorhel.nl/ncdu"
screenshot="http://dev.yorhel.nl/img/ncduinfo.png"
license=('MTI')
depends=('ncurses')
provides=('ncdu')
source=("http://dev.yorhel.nl/download/ncdu-${pkgver}.tar.gz")
md5sums=('0df5a1ce766f2f79f4562e8b413da9b2')
 
build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}
 
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  _docdir=${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
  _licdir=${pkgdir}/usr/share/licenses/${pkgname}
  install -dpm755 ${_docdir} ${_licdir}
  install -Dpm644 ChangeLog README ${_docdir}/
  install -Dpm644 COPYING ${_licdir}/
}