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

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Jun 5 19:48:04 UTC 2013


    Date: Wednesday, June 5, 2013 @ 21:48:04
  Author: andrea
Revision: 187453

archrelease: copy trunk to staging-x86_64

Added:
  kdeedu-marble/repos/staging-x86_64/
  kdeedu-marble/repos/staging-x86_64/PKGBUILD
    (from rev 187452, kdeedu-marble/trunk/PKGBUILD)
  kdeedu-marble/repos/staging-x86_64/kdeedu-marble.install
    (from rev 187452, kdeedu-marble/trunk/kdeedu-marble.install)

-----------------------+
 PKGBUILD              |   32 ++++++++++++++++++++++++++++++++
 kdeedu-marble.install |   13 +++++++++++++
 2 files changed, 45 insertions(+)

Copied: kdeedu-marble/repos/staging-x86_64/PKGBUILD (from rev 187452, kdeedu-marble/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-06-05 19:48:04 UTC (rev 187453)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-marble
+pkgver=4.10.4
+pkgrel=1
+pkgdesc="Desktop Globe"
+url="http://kde.org/applications/education/marble/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4' 'gpsd')
+optdepends=('gpsd: gps support')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/marble-${pkgver}.tar.xz")
+sha1sums=('664ff3564e2136566808d2ea801b42ede04d6a8d')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-marble/repos/staging-x86_64/kdeedu-marble.install (from rev 187452, kdeedu-marble/trunk/kdeedu-marble.install)
===================================================================
--- staging-x86_64/kdeedu-marble.install	                        (rev 0)
+++ staging-x86_64/kdeedu-marble.install	2013-06-05 19:48:04 UTC (rev 187453)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list