From 88476e645d8a365b4240e110d67c1b4ca88e66a6 Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@z3ntu.xyz>
Date: Sun, 12 Apr 2020 22:19:46 +0200
Subject: [PATCH] community/dfc: fix incorrect sysconfdir

Previously the file /usr/etc/xdg/dfc/dfcrc would be installed which is
incorrect. Fix this by explitely setting the sysconfdir.
---
 community/dfc/APKBUILD | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/community/dfc/APKBUILD b/community/dfc/APKBUILD
index 071b3590b60b..b2ac5792ad24 100644
--- a/community/dfc/APKBUILD
+++ b/community/dfc/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Bart Ribbers <bribbers@disroot.org>
 pkgname=dfc
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 arch="all"
 url="https://projects.gw-computing.net/projects/dfc"
 pkgdesc="Report file system space usage information with style"
@@ -15,7 +15,8 @@ options="!check" # No tests available
 build() {
 	cmake \
 		-DCMAKE_BUILD_TYPE=None \
-		-DCMAKE_INSTALL_PREFIX=/usr
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DSYSCONFDIR=/etc
 	make
 }
 
-- 
GitLab