mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 15:04:36 +08:00
39 lines
959 B
Bash
39 lines
959 B
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=1
|
|
pkgdesc="GTK2 and GTK3 Configuration for KDE"
|
|
arch=('x86_64')
|
|
url='projects.kde.org/'
|
|
license=('LGPL')
|
|
depends=(knewstuff kde-cli-tools gtk3 gsettings-desktop-schemas)
|
|
makedepends=(extra-cmake-modules gtk2 python)
|
|
optdepends=('gtk2: GTK2 apps support')
|
|
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
|
|
}
|