blob: d5b15b960a4caae47ab2bf610fbf2f7f3129030c (
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.11
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="9e44240a5356b029f05f0e70a63c4d12 ncdu-1.11.tar.gz"
sha256sums="d0aea772e47463c281007f279a9041252155a2b2349b18adb9055075e141bb7b ncdu-1.11.tar.gz"
sha512sums="4b9319900dd11da7c3bd2ba9a478c52b8280e3560b8b5b6610fc145c5d81d726715db69cd21bd400d75339a5bcf140bcafb3b4430075427a51b65763e81d8c48 ncdu-1.11.tar.gz"
|