blob: 8715979c15bd756a07d50bc6546ea62e21ea40f3 (
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
38
39
40
41
|
# Contributor: Pierre Carrier <pierre@gcarrier.fr>
# Maintainer: Pierre Carrier <pierre@gcarrier.fr>
pkgname=dfc
pkgver=3.0.5
pkgrel=1
pkgdesc="displays file system space usage using graphs and colors."
url="http://projects.gw-computing.net/projects/dfc"
arch="all"
license="BSD"
makedepends="cmake"
source="http://projects.gw-computing.net/attachments/download/467/dfc-$pkgver.tar.gz"
subpackages="$pkgname-doc"
_builddir="$srcdir"/dfc-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cmake . -DCMAKE_BUILD_TYPE=Release \
-DPREFIX=/usr \
-DSYSCONFDIR=/etc \
|| return 1
make
}
package() {
cd "$_builddir"
make install/fast DESTDIR="$pkgdir"
}
md5sums="3e6443c54966751f5e9fdaca33d873d1 dfc-3.0.5.tar.gz"
sha256sums="3c947a1d6bc53347b1643921dcbf4c6f8fe7eb6167fc1f4e9436366f036d857a dfc-3.0.5.tar.gz"
sha512sums="f828ede8aee0a496518d1ee9583ba71495cdd01ee0d22833e3b46aeb5f5f870ce7de629923d129a7bf795b458feec10f9a16882134dae34dd2ace7ea9eebb134 dfc-3.0.5.tar.gz"
|