23 lines
613 B
Plaintext
23 lines
613 B
Plaintext
# Description: The Pek Window Manager.
|
|
# URL: https://www.pekwm.se
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: cmake xorg-libxft xorg-libxpm xorg-libxrandr
|
|
|
|
name=pekwm
|
|
version=0.3.0
|
|
release=1
|
|
source=(https://github.com/pekdon/pekwm/archive/release-$version.tar.gz)
|
|
|
|
build() {
|
|
prt-get isinst ninja && PKGMK_PEKWM+=' -G Ninja'
|
|
|
|
cmake -S $name-release-$version -B build ${PKGMK_PEKWM} \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|