pekwm: adopted; removed obsolete test for cmake/ninja

This commit is contained in:
John McQuah 2023-03-04 09:09:48 -05:00
parent b8293ed977
commit 0f8654ee22
2 changed files with 7 additions and 9 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF33FPkNnzTi+7TtkMZ4uvtcYmJrQpJUFxoz7htkBBM2lsDNoL92ozc2naiLhJaXBDYpXPAgWS6zjbX0r3Z8y+qgk=
SHA256 (Pkgfile) = 32e95573efaeacf49eb6e3993922bc9bfe9dbf529e8682eaec6688fe9329734b
RWSagIOpLGJF33swKLTl/lNoLfs5rRL841xOb2hBzS7f+SoH+hz370erdCd4py4XclcyW/y/YWYULdiPqzFB6YvC0UJatDl4sQ0=
SHA256 (Pkgfile) = 8500afc9330ea7141df115d69ba27d43345a380e2b9a49d3b200503616bf0477
SHA256 (.footprint) = 97f515c3ab1a96293d7050e70fef84272c4d4201e88281562c760bbbe97a54b7
SHA256 (release-0.3.0.tar.gz) = 8c501dba954395b558afb6776cbda7732da023d75ca18f4b04c22cf49a2e7507

View File

@ -1,7 +1,7 @@
# 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
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: xorg-libxft xorg-libxpm xorg-libxrandr
name=pekwm
version=0.3.0
@ -9,14 +9,12 @@ 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} \
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"
cmake --build build
DESTDIR=$PKG cmake --install build
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
}