blob: e52110c402f02a050d07ba1beff99e27e16f9578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ncdu
pkgver=1.10
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="7535decc8d54eca811493e82d4bfab2d ncdu-1.10.tar.gz"
sha256sums="f5994a4848dbbca480d39729b021f057700f14ef72c0d739bbd82d862f2f0c67 ncdu-1.10.tar.gz"
sha512sums="10693370c5aa0895b90245b612de930df58a1a7bf2c4f7f92e8b14181ca3d00792094b27659e93267124d1e41a5a357930792bfc9492fd1e6029258d53f479d4 ncdu-1.10.tar.gz"
|