mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
Finally add the new KCM from KDE
This commit is contained in:
parent
dff463c26f
commit
a540c6b142
36
kde-gtk-config/PKGBUILD
Normal file
36
kde-gtk-config/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# KDE Packages for Chakra
|
||||
#
|
||||
# maintainer: Manuel tortosa <manutortosa@chakra-project.org>
|
||||
|
||||
pkgname=kde-gtk-config
|
||||
pkgver=2.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="A KCM for Configuring the GTK2 and GTK3 look&feel"
|
||||
arch=('x86_64')
|
||||
url="https://projects.kde.org/projects/kdereview/kde-gtk-config"
|
||||
license=('GPL')
|
||||
depends=('kde-runtime')
|
||||
makedepends=('cmake' 'automoc4' 'gtk2' 'gtk3')
|
||||
optdepends=('gtk2: GTK+ v2 support'
|
||||
'gtk3: GTK+ v3 support')
|
||||
conflicts=('kde-gtk-config-git' 'chakra-gtk-config' 'chakra-gtk-config-git')
|
||||
provides=('chakra-gtk-config')
|
||||
replaces=('chakra-gtk-config')
|
||||
source=("ftp://ftp.kde.org/pub/kde/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2")
|
||||
install=$pkgname.install
|
||||
md5sums=('7b211c59c46293de8baaf3d74156d64c')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
cd "$srcdir/build"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
11
kde-gtk-config/kde-gtk-config.install
Normal file
11
kde-gtk-config/kde-gtk-config.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user