mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 19:37:13 +08:00
41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kde-gtk-config-frameworks
|
|
source ../plasma.conf
|
|
|
|
pkgname=kde-gtk-config
|
|
pkgver=${PVersion}
|
|
pkgrel=2
|
|
pkgdesc="GTK2 and GTK3 Configuration for KDE"
|
|
arch=('x86_64')
|
|
url='projects.kde.org/'
|
|
license=('LGPL')
|
|
|
|
depends=('qt5-base' 'ki18n' 'kio' 'kconfigwidgets' 'knewstuff' 'karchive' 'kcmutils' 'kiconthemes')
|
|
makedepends=('extra-cmake-modules' 'gtk2' 'gtk3' 'python3')
|
|
optdepends=('gtk2: GTK2 Theme Preview'
|
|
'gtk3: GTK3 Theme Preview')
|
|
conflicts=('kde-gtk-config<5.4' 'kde-gtk-config-kf5')
|
|
provides=('kde-gtk-config-kf5')
|
|
replaces=('kde-gtk-config-kf5')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
|
|
sha256sums=( $(getSum ${pkgname})
|
|
'SKIP' )
|
|
validpgpkeys=(${Pvalidpgpkeys[@]})
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|