[arch-commits] Commit in kwin/trunk (PKGBUILD kwin.install)
Andrea Scarpino
andrea at archlinux.org
Tue Sep 9 12:18:59 UTC 2014
Date: Tuesday, September 9, 2014 @ 14:18:58
Author: andrea
Revision: 221291
upgpkg: kwin 5.0.1-1
Upstream release
Added:
kwin/trunk/kwin.install
Modified:
kwin/trunk/PKGBUILD
--------------+
PKGBUILD | 11 ++++++-----
kwin.install | 11 +++++++++++
2 files changed, 17 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-09 12:11:01 UTC (rev 221290)
+++ PKGBUILD 2014-09-09 12:18:58 UTC (rev 221291)
@@ -2,7 +2,7 @@
# Maintainer: Andrea Scarpino <andrea at archlinux.org>
pkgname=kwin
-pkgver=5.0.0
+pkgver=5.0.1
pkgrel=1
pkgdesc='KDE Window manager'
arch=('i686' 'x86_64')
@@ -11,8 +11,9 @@
depends=('qt5-multimedia' 'plasma-framework' 'kcmutils' 'knewstuff' 'libxcursor' 'kinit')
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
groups=('plasma-next')
+install=${pkgname}.install
source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('b72cc502630bd9631ceb6d44200af924')
+md5sums=('b897099c71ba90fc909fa18d98255592')
prepare() {
mkdir -p build
@@ -22,12 +23,12 @@
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DQT_PLUGIN_INSTALL_DIR=lib/qt/plugins \
-DQML_INSTALL_DIR=lib/qt/qml \
- -DBUILD_TESTING=OFF
-# -DSYSCONF_INSTALL_DIR=/etc
+ -DBUILD_TESTING=OFF \
+ -DSYSCONF_INSTALL_DIR=/etc
make
}
Added: kwin.install
===================================================================
--- kwin.install (rev 0)
+++ kwin.install 2014-09-09 12:18:58 UTC (rev 221291)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list