[arch-commits] Commit in (5 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat May 10 18:42:11 UTC 2014


    Date: Saturday, May 10, 2014 @ 20:42:10
  Author: andrea
Revision: 212203

Let's try to package KDE Frameworks 5

Added:
  kcoreaddons/
  kcoreaddons/repos/
  kcoreaddons/trunk/
  kcoreaddons/trunk/PKGBUILD
  kcoreaddons/trunk/kcoreaddons.install

---------------------+
 PKGBUILD            |   36 ++++++++++++++++++++++++++++++++++++
 kcoreaddons.install |   11 +++++++++++
 2 files changed, 47 insertions(+)

Added: kcoreaddons/trunk/PKGBUILD
===================================================================
--- kcoreaddons/trunk/PKGBUILD	                        (rev 0)
+++ kcoreaddons/trunk/PKGBUILD	2014-05-10 18:42:10 UTC (rev 212203)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcoreaddons
+pkgver=4.99.0
+pkgrel=1
+pkgdesc='KCoreAddons'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kcoreaddons'
+license=('LGPL')
+depends=('qt5-base' 'shared-mime-info' 'gamin')
+makedepends=('extra-cmake-modules' 'qt5-tools')
+groups=('kf5')
+install=kcoreaddons.install
+source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('8dbd0d10913bb72ae4e44159cc322dc0')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DECM_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}


Property changes on: kcoreaddons/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: kcoreaddons/trunk/kcoreaddons.install
===================================================================
--- kcoreaddons/trunk/kcoreaddons.install	                        (rev 0)
+++ kcoreaddons/trunk/kcoreaddons.install	2014-05-10 18:42:10 UTC (rev 212203)
@@ -0,0 +1,11 @@
+post_install() {
+  update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list