[arch-commits] Commit in kdeedu-kstars/trunk (PKGBUILD kdeedu-kstars.install)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:14:29 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:14:29
  Author: andrea
Revision: 132608

move pkgbuilds to trunk; cleanup

Added:
  kdeedu-kstars/trunk/PKGBUILD
    (from rev 132557, kdeedu-kstars/kde-unstable/PKGBUILD)
  kdeedu-kstars/trunk/kdeedu-kstars.install
    (from rev 132557, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)

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

Copied: kdeedu-kstars/trunk/PKGBUILD (from rev 132557, kdeedu-kstars/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:14:29 UTC (rev 132608)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.7.0
+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/stable/${pkgver}/src/kstars-${pkgver}.tar.bz2")
+sha1sums=('7ef3b53889aceb97b9452bf0b581a3aeefd243dc')
+
+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/trunk/kdeedu-kstars.install (from rev 132557, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
===================================================================
--- kdeedu-kstars.install	                        (rev 0)
+++ kdeedu-kstars.install	2011-07-25 00:14:29 UTC (rev 132608)
@@ -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