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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:14:03 EST 2011


    Date: Thursday, November 24, 2011 @ 11:14:03
  Author: andrea
Revision: 143313

db-move: moved kdeedu-marble from [staging] to [kde-unstable] (i686)

Added:
  kdeedu-marble/repos/kde-unstable-i686/
  kdeedu-marble/repos/kde-unstable-i686/PKGBUILD
    (from rev 143277, kdeedu-marble/repos/staging-i686/PKGBUILD)
  kdeedu-marble/repos/kde-unstable-i686/kdeedu-marble.install
    (from rev 143277, kdeedu-marble/repos/staging-i686/kdeedu-marble.install)
Deleted:
  kdeedu-marble/repos/staging-i686/

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

Copied: kdeedu-marble/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeedu-marble/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:14:03 UTC (rev 143313)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-marble
+pkgver=4.7.80
+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/unstable/${pkgver}/src/marble-${pkgver}.tar.bz2")
+sha1sums=('e525f3bca3bef13a3506f5b295847e62fd69e4b2')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../marble-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-marble/repos/kde-unstable-i686/kdeedu-marble.install (from rev 143277, kdeedu-marble/repos/staging-i686/kdeedu-marble.install)
===================================================================
--- kde-unstable-i686/kdeedu-marble.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-marble.install	2011-11-24 16:14:03 UTC (rev 143313)
@@ -0,0 +1,12 @@
+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