[arch-commits] Commit in breeze/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Aug 23 21:59:23 UTC 2018
Date: Thursday, August 23, 2018 @ 21:59:23
Author: arojas
Revision: 332885
Drop KDE4 support
Modified:
breeze/trunk/PKGBUILD
----------+
PKGBUILD | 46 ++++++++++++----------------------------------
1 file changed, 12 insertions(+), 34 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-23 21:42:05 UTC (rev 332884)
+++ PKGBUILD 2018-08-23 21:59:23 UTC (rev 332885)
@@ -3,15 +3,19 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
# Contributor: Andrea Scarpino <andrea at archlinux.org>
-pkgbase=breeze
-pkgname=(breeze breeze-kde4)
+pkgname=breeze
pkgver=5.13.4
-pkgrel=1
+pkgrel=2
arch=(x86_64)
+pkgdesc='Artwork, styles and assets for the Breeze visual style for the Plasma Desktop'
url='https://www.kde.org/workspaces/plasmadesktop/'
license=(LGPL)
-makedepends=(extra-cmake-modules frameworkintegration kdelibs automoc4 kdecoration kcmutils plasma-framework)
-source=("https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz"{,.sig})
+depends=(frameworkintegration kdecoration breeze-icons kwayland hicolor-icon-theme)
+makedepends=(extra-cmake-modules kcmutils)
+optdepends=('breeze-gtk: Breeze widget style for GTK applications'
+ 'kcmutils: for breeze-settings')
+groups=(plasma)
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
sha256sums=('04e157d3468a85190cb7c8acff09c382830d9c15fc53200394359d393f6aaccf'
'SKIP')
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell
@@ -20,45 +24,19 @@
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
prepare() {
- mkdir -p build{,-kde4}
+ mkdir -p build
}
build() {
cd build
- cmake ../$pkgbase-$pkgver \
+ cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
-
- cd ../build-kde4
- cmake ../$pkgbase-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DUSE_KDE4=ON \
- -DBUILD_TESTING=OFF
- make
}
-package_breeze() {
- depends=(frameworkintegration kdecoration breeze-icons kwayland hicolor-icon-theme)
- pkgdesc='Artwork, styles and assets for the Breeze visual style for the Plasma Desktop'
- optdepends=('breeze-kde4: Breeze widget style for KDE4 applications'
- 'breeze-gtk: Breeze widget style for GTK applications'
- 'kcmutils: for breeze-settings')
- groups=(plasma)
-
+package() {
cd build
make DESTDIR="$pkgdir" install
}
-
-package_breeze-kde4() {
- pkgdesc='Breeze widget style for KDE4 applications'
- depends=(kdelibs)
-
- cd build-kde4
- make DESTDIR="$pkgdir" install
-
- # needed for pure Qt4 apps
- install -d "$pkgdir"/usr/lib/qt4/plugins/styles
- ln -s /usr/lib/kde4/plugins/styles/breeze.so "$pkgdir"/usr/lib/qt4/plugins/styles
-}
More information about the arch-commits
mailing list