Skip to content

Commit

Permalink
pkgmk
Browse files Browse the repository at this point in the history
add kde6 build mode
  • Loading branch information
tnut committed Mar 12, 2024
1 parent 90a7b64 commit 4e207d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/pkgmk.in
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,18 @@ build() {
make
make DESTDIR=$PKG install;;

kde6)
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-Wno-dev \
../$name-$version
make
make DESTDIR=$PKG install;;


*)
echo "$(basename $PKGMK_COMMAND): function build invalid build type"
exit $E_BUILD ;;
Expand Down

0 comments on commit 4e207d1

Please sign in to comment.