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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 16:15:17 UTC 2011


    Date: Thursday, November 24, 2011 @ 11:15:16
  Author: andrea
Revision: 143371

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

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

-----------------------+
 PKGBUILD              |   32 ++++++++++++++++++++++++++++++++
 kdeedu-kstars.install |   11 +++++++++++
 2 files changed, 43 insertions(+)

Copied: kdeedu-kstars/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeedu-kstars/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:15:16 UTC (rev 143371)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Desktop Planetarium"
+url="http://kde.org/applications/education/kstars/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'eigen' 'cfitsio' 'libindi')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kstars-${pkgver}.tar.bz2")
+sha1sums=('ac705e13f83db3017e5ad6a615c264be69259f21')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kstars-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_Xplanet=OFF
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kstars/repos/kde-unstable-i686/kdeedu-kstars.install (from rev 143277, kdeedu-kstars/repos/staging-i686/kdeedu-kstars.install)
===================================================================
--- kde-unstable-i686/kdeedu-kstars.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-kstars.install	2011-11-24 16:15:16 UTC (rev 143371)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list