diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-07-07 21:12:14 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-12-03 14:49:16 -0600 |
commit | 61cdd911bdfeb7aadef802b75f3754b792076263 (patch) | |
tree | d1f0d3e280ffd2a19879e3e2cf14ff3b37cd9254 /testing | |
parent | 06f65119294f7327c6863c6988574930eeb9d84d (diff) | |
download | aports-61cdd911bdfeb7aadef802b75f3754b792076263.tar.bz2 aports-61cdd911bdfeb7aadef802b75f3754b792076263.tar.xz |
Initial APKBUILD for ncdu
Package description:
ncdu (NCurses Disk Usage) is a curses-based version of
the well-known 'du' and provides a fast way to see what
directories are using your disk space.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ncdu/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/ncdu/APKBUILD b/testing/ncdu/APKBUILD new file mode 100644 index 0000000000..a00cbe0b67 --- /dev/null +++ b/testing/ncdu/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=ncdu +pkgver=1.7 +pkgrel=0 +pkgdesc="Text-based disk usage viewer" +url="http://dev.yorhel.nl/ncdu" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://dev.yorhel.nl/download/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="172047c29d232724cc62e773e82e592a ncdu-1.7.tar.gz" |