aboutsummaryrefslogtreecommitdiffstats
path: root/community/dfc/APKBUILD
blob: b517c96befb6e9c75ec6a87ff57bd2497ec61e5d (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=dfc
pkgver=3.1.1
pkgrel=0
arch="all"
url="https://projects.gw-computing.net/projects/dfc"
pkgdesc="Report file system space usage information with style"
license="BSD-3-Clause"
makedepends="cmake"
source="https://projects.gw-computing.net/attachments/download/615/dfc-$pkgver.tar.gz"
subpackages="$pkgname-doc"
options="!check" # No tests available

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="eac2c8d464d57626efe939f515889cf91510f7e6eb50382d045204d4f1d6b9b9f0af4b1d8974c9cbcff1eb5b8802157e421ec06e5a1e38dac74eba72f43f9701  dfc-3.1.1.tar.gz"