[arch-commits] Commit in (5 files)
Andrea Scarpino
andrea at archlinux.org
Mon Jan 26 18:01:48 UTC 2015
Date: Monday, January 26, 2015 @ 19:01:47
Author: andrea
Revision: 230008
Prepare kscreen release
Added:
kscreen-frameworks/
kscreen-frameworks/repos/
kscreen-frameworks/trunk/
kscreen-frameworks/trunk/PKGBUILD
kscreen-frameworks/trunk/kscreen-frameworks.install
----------------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
kscreen-frameworks.install | 11 +++++++++++
2 files changed, 48 insertions(+)
Added: kscreen-frameworks/trunk/PKGBUILD
===================================================================
--- kscreen-frameworks/trunk/PKGBUILD (rev 0)
+++ kscreen-frameworks/trunk/PKGBUILD 2015-01-26 18:01:47 UTC (rev 230008)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kscreen-frameworks
+pkgver=5.2.0
+pkgrel=1
+pkgdesc="KDE's screen management software"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/kscreen'
+license=('LGPL')
+depends=('kxmlgui' 'libkscreen-frameworks' 'kdeclarative')
+makedepends=('extra-cmake-modules' 'git' 'python')
+conflicts=('kscreen')
+install=$pkgname.install
+source=("http://download.kde.org/stable/plasma/${pkgver}/kscreen-$pkgver.tar.xz")
+md5sums=('123')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../kscreen-${pkgname} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Property changes on: kscreen-frameworks/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: kscreen-frameworks/trunk/kscreen-frameworks.install
===================================================================
--- kscreen-frameworks/trunk/kscreen-frameworks.install (rev 0)
+++ kscreen-frameworks/trunk/kscreen-frameworks.install 2015-01-26 18:01:47 UTC (rev 230008)
@@ -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