2012-11-02 21:44:39 +11:00
|
|
|
# Description: The Pek Window Manager.
|
2021-02-13 15:33:16 +11:00
|
|
|
# URL: https://www.pekwm.se
|
2023-03-04 09:09:48 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2023-07-21 13:48:01 -04:00
|
|
|
# Depends on: xorg-libxft xorg-libxpm xorg-libxrandr xorg-xprop
|
2007-04-29 23:13:15 +02:00
|
|
|
|
|
|
|
name=pekwm
|
2023-01-26 18:53:09 +01:00
|
|
|
version=0.3.0
|
2020-11-29 21:05:12 +11:00
|
|
|
release=1
|
2023-07-21 13:48:01 -04:00
|
|
|
source=(https://github.com/pekdon/$name/archive/release-$version.tar.gz)
|
|
|
|
renames=($name-release-$version.tar.gz)
|
2007-04-29 23:13:15 +02:00
|
|
|
|
|
|
|
build() {
|
2023-03-04 09:09:48 -05:00
|
|
|
cmake -S $name-release-$version -B build -G Ninja \
|
2020-11-29 21:05:12 +11:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
|
2012-11-02 21:44:39 +11:00
|
|
|
|
2023-03-04 09:09:48 -05:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2007-04-29 23:13:15 +02:00
|
|
|
}
|