contrib/pekwm/Pkgfile

22 lines
613 B
Plaintext

# Description: The Pek Window Manager.
# URL: https://www.pekwm.se
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: xorg-libxft xorg-libxpm xorg-libxrandr xorg-xprop
name=pekwm
version=0.3.0
release=1
source=(https://github.com/pekdon/$name/archive/release-$version.tar.gz)
renames=($name-release-$version.tar.gz)
build() {
cmake -S $name-release-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
}