[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 28 17:44:23 UTC 2015


    Date: Tuesday, July 28, 2015 @ 19:44:23
  Author: arojas
Revision: 242589

Add KF5 version of dolphin

Added:
  dolphin/
  dolphin/kde-unstable/
  dolphin/kde-unstable/PKGBUILD
  dolphin/kde-unstable/dolphin.install

-----------------+
 PKGBUILD        |   38 ++++++++++++++++++++++++++++++++++++++
 dolphin.install |   13 +++++++++++++
 2 files changed, 51 insertions(+)

Added: dolphin/kde-unstable/PKGBUILD
===================================================================
--- dolphin/kde-unstable/PKGBUILD	                        (rev 0)
+++ dolphin/kde-unstable/PKGBUILD	2015-07-28 17:44:23 UTC (rev 242589)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux,org>
+
+pkgname=dolphin
+pkgver=15.07.80
+pkgrel=1
+pkgdesc="File Manager"
+arch=(i686 x86_64)
+url="http://kde.org/applications/system/dolphin/"
+license=(LGPL)
+depends=(baloo-widgets knewstuff kio-extras ktexteditor kactivities-frameworks)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdebase-dolphin)
+replaces=(kdebase-dolphin)
+groups=(kde-applications kdebase)
+source=("http://download.kde.org/unstable/applications/15.07.80/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('3de90082afaf1e635347f5f08267d713')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -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
+}

Added: dolphin/kde-unstable/dolphin.install
===================================================================
--- dolphin/kde-unstable/dolphin.install	                        (rev 0)
+++ dolphin/kde-unstable/dolphin.install	2015-07-28 17:44:23 UTC (rev 242589)
@@ -0,0 +1,13 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}
+



More information about the arch-commits mailing list