parent
4900a51ece
commit
6b397c88eb
|
@ -1,29 +0,0 @@
|
|||
--- a/CMakeLists.txt 2021-03-01 07:37:20.447294425 -0500
|
||||
+++ b/CMakeLists.txt 2021-03-01 07:39:40.222030571 -0500
|
||||
@@ -10,6 +10,9 @@
|
||||
set(pekwm_VERSION_PATCH 18)
|
||||
set(pekwm_VERSION "${pekwm_VERSION_MAJOR}.${pekwm_VERSION_MINOR}.${pekwm_VERSION_PATCH}")
|
||||
|
||||
+set(PEKWM_CONF_DIR "${CMAKE_INSTALL_PREFIX}/etc/pekwm"
|
||||
+ CACHE STRING "Path to pekwm system configuration files")
|
||||
+
|
||||
# Check for C++11
|
||||
check_cxx_compiler_flag(-std=c++11 HAS_CXX11)
|
||||
if (HAS_CXX11)
|
||||
@@ -94,7 +97,7 @@
|
||||
add_definitions(-DVERSION="${pekwm_VERSION}"
|
||||
-DFEATURES="${pekwm_FEATURES}"
|
||||
-DDATADIR="${CMAKE_INSTALL_PREFIX}/share"
|
||||
- -DSYSCONFDIR="${CMAKE_INSTALL_PREFIX}/etc/pekwm")
|
||||
+ -DSYSCONFDIR="${PEKWM_CONF_DIR}")
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH True)
|
||||
|
||||
# Subdirectories
|
||||
--- a/data/CMakeLists.txt 2021-03-01 07:39:48.323015276 -0500
|
||||
+++ b/data/CMakeLists.txt 2021-03-01 07:40:19.475956467 -0500
|
||||
@@ -16,4 +16,4 @@
|
||||
mouse_sloppy
|
||||
start
|
||||
vars
|
||||
- DESTINATION etc/pekwm/)
|
||||
+ DESTINATION "${PEKWM_CONF_DIR}")
|
|
@ -1,17 +1,16 @@
|
|||
# Template file for 'pekwm'
|
||||
pkgname=pekwm
|
||||
version=0.1.18
|
||||
version=0.2.1
|
||||
revision=1
|
||||
wrksrc="${pkgname}-release-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DPEKWM_CONF_DIR=/etc/pekwm"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libjpeg-turbo-devel libpng-devel libXpm-devel
|
||||
libXft-devel fontconfig-devel libXinerama-devel libXrandr-devel"
|
||||
short_desc="Window manager based on aewm++"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="biopsin <biopsin@teknik.io>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.pekwm.se/"
|
||||
distfiles="https://github.com/pekdon/pekwm/archive/release-${version}.tar.gz"
|
||||
checksum=e04e14ab7b212ec7c3a36e4c24b6228383df4ca3768f9fea7ba22dcd107d5d5a
|
||||
checksum=62e858015e1a5a54bbddab202a1fb455c821bda62498e9cadfa1d00a5a2575c3
|
||||
conf_files="/etc/pekwm/*"
|
||||
|
|
Loading…
Reference in New Issue