[arch-commits] Commit in (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 28 17:52:39 UTC 2015


    Date: Tuesday, July 28, 2015 @ 19:52:39
  Author: arojas
Revision: 242591

Add KF5 version of dragon player

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

----------------+
 PKGBUILD       |   37 +++++++++++++++++++++++++++++++++++++
 dragon.install |   13 +++++++++++++
 2 files changed, 50 insertions(+)

Added: dragon/kde-unstable/PKGBUILD
===================================================================
--- dragon/kde-unstable/PKGBUILD	                        (rev 0)
+++ dragon/kde-unstable/PKGBUILD	2015-07-28 17:52:39 UTC (rev 242591)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org> 
+
+pkgname=dragon
+pkgver=15.07.80
+pkgrel=1
+pkgdesc='A multimedia player where the focus is on simplicity, instead of features'
+arch=(i686 x86_64)
+url='http://kde.org/applications/multimedia/dragon'
+license=(GPL)
+depends=(hicolor-icon-theme kparts)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdemultimedia-dragonplayer)
+replaces=(kdemultimedia-dragonplayer)
+groups=(kde-applications kdemultimedia)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+install=$pkgname.install
+md5sums=('58d9d173b631813e49d2ede339f82722')
+
+prepare() {
+  mkdir -p build
+}
+
+build() { 
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+

Added: dragon/kde-unstable/dragon.install
===================================================================
--- dragon/kde-unstable/dragon.install	                        (rev 0)
+++ dragon/kde-unstable/dragon.install	2015-07-28 17:52:39 UTC (rev 242591)
@@ -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