mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 17:44:38 +08:00
39 lines
1015 B
Bash
39 lines
1015 B
Bash
|
|
pkgname=qqc2-desktop-style
|
|
pkgver=5.48.0
|
|
pkgrel=1
|
|
pkgdesc='A style for Qt Quick Controls 2 to make it follow your desktop theme'
|
|
arch=(x86_64)
|
|
url='https://community.kde.org/Frameworks'
|
|
license=(LGPL)
|
|
groups=(kf5)
|
|
depends=(kirigami kiconthemes)
|
|
makedepends=(extra-cmake-modules)
|
|
options=("debug")
|
|
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
sha256sums=('56115d0a179f614072b931f9ad91de2cff07dcd1e3734c03fe83b71b65df84f1'
|
|
SKIP)
|
|
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|