[arch-commits] Commit in kcoreaddons/repos (3 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Dec 21 12:05:52 UTC 2013


    Date: Saturday, December 21, 2013 @ 13:05:51
  Author: andrea
Revision: 202301

archrelease: copy trunk to kde-unstable-x86_64

Added:
  kcoreaddons/repos/kde-unstable-x86_64/
  kcoreaddons/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 202300, kcoreaddons/trunk/PKGBUILD)
  kcoreaddons/repos/kde-unstable-x86_64/kcoreaddons.install
    (from rev 202300, kcoreaddons/trunk/kcoreaddons.install)

---------------------+
 PKGBUILD            |   40 ++++++++++++++++++++++++++++++++++++++++
 kcoreaddons.install |   11 +++++++++++
 2 files changed, 51 insertions(+)

Copied: kcoreaddons/repos/kde-unstable-x86_64/PKGBUILD (from rev 202300, kcoreaddons/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2013-12-21 12:05:51 UTC (rev 202301)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcoreaddons
+pkgver=r5.93c2803
+pkgrel=2
+pkgdesc='KCoreAddons'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kcoreaddons'
+license=('LGPL')
+depends=('qt5-base' 'shared-mime-info')
+makedepends=('extra-cmake-modules' 'git')
+groups=('kf5')
+install=kcoreaddons.install
+source=('git://anongit.kde.org/kcoreaddons.git')
+md5sums=('SKIP')
+
+pkgver() {
+  cd kcoreaddons
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kcoreaddons \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+    -DLIB_INSTALL_DIR=lib \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kcoreaddons/repos/kde-unstable-x86_64/kcoreaddons.install (from rev 202300, kcoreaddons/trunk/kcoreaddons.install)
===================================================================
--- kde-unstable-x86_64/kcoreaddons.install	                        (rev 0)
+++ kde-unstable-x86_64/kcoreaddons.install	2013-12-21 12:05:51 UTC (rev 202301)
@@ -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