mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 01:17:16 +08:00
37 lines
842 B
Bash
37 lines
842 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-kf5
|
|
_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')
|
|
makedepends=('extra-cmake-modules' 'gtk2' 'gtk3')
|
|
optdepends=('gtk2: GTK2 Theme Preview'
|
|
'gtk3: GTK3 Theme Preview')
|
|
conflicts=('kde-gtk-config')
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname}) )
|
|
install=${pkgname}.install
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|