blob: fc092099f372a301c1d9913662c43f012386ce5f (
plain)
1 # Description: theme engine for Qt4/Qt5 and KDE
2 # URL: https://github.com/tsujan/Kvantum/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: icu kwindowsystem xorg-xcb-util-renderutil
5
6 name=kvantum
7 version=1.0.7
8 release=1
9 source=(https://github.com/tsujan/Kvantum/archive/V$version/Kvantum-v$version.tar.gz)
10
11 build() {
12 cmake -S Kvantum-$version/Kvantum -B build -G Ninja \
13 -D CMAKE_INSTALL_PREFIX=/usr \
14 -D CMAKE_BUILD_TYPE=Release \
15 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
16 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
17 -Wno-dev
18 cmake --build build
19 DESTDIR=$PKG cmake --install build
20 rm -fr $PKG/usr/share/{kvantumpreview/translations,kvantummanager/translations}
21 }
|