[arch-commits] Commit in (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jan 28 23:22:02 UTC 2015
Date: Thursday, January 29, 2015 @ 00:22:02
Author: arojas
Revision: 126714
Add muon (part of Plasma 5.2)
Added:
muon/
muon/trunk/
muon/trunk/PKGBUILD
muon/trunk/muon.install
--------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
muon.install | 12 ++++++++++++
2 files changed, 47 insertions(+)
Added: muon/trunk/PKGBUILD
===================================================================
--- muon/trunk/PKGBUILD (rev 0)
+++ muon/trunk/PKGBUILD 2015-01-28 23:22:02 UTC (rev 126714)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=muon
+pkgver=5.2.0
+pkgrel=1
+pkgdesc='A collection of package management tools for KDE'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/muon'
+#groups=('plasma')
+license=('LGPL')
+depends=('packagekit-qt5' 'kdeclarative' 'appstream-qt' 'archlinux-appstream-data')
+makedepends=('extra-cmake-modules' 'python')
+source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('72cd26214b3e0aa018c7606ea0782c98')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../muon-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Property changes on: muon/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: muon/trunk/muon.install
===================================================================
--- muon/trunk/muon.install (rev 0)
+++ muon/trunk/muon.install 2015-01-28 23:22:02 UTC (rev 126714)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list