[arch-commits] Commit in kstars (7 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 14 10:13:20 UTC 2015


    Date: Saturday, March 14, 2015 @ 11:13:20
  Author: arojas
Revision: 233667

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kstars/repos/
  kstars/repos/kde-unstable-i686/
  kstars/repos/kde-unstable-i686/PKGBUILD
    (from rev 233666, kstars/kde-unstable/PKGBUILD)
  kstars/repos/kde-unstable-i686/kstars.install
    (from rev 233666, kstars/kde-unstable/kstars.install)
  kstars/repos/kde-unstable-x86_64/
  kstars/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 233666, kstars/kde-unstable/PKGBUILD)
  kstars/repos/kde-unstable-x86_64/kstars.install
    (from rev 233666, kstars/kde-unstable/kstars.install)

------------------------------------+
 kde-unstable-i686/PKGBUILD         |   43 +++++++++++++++++++++++++++++++++++
 kde-unstable-i686/kstars.install   |   11 ++++++++
 kde-unstable-x86_64/PKGBUILD       |   43 +++++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/kstars.install |   11 ++++++++
 4 files changed, 108 insertions(+)

Copied: kstars/repos/kde-unstable-i686/PKGBUILD (from rev 233666, kstars/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD	2015-03-14 10:13:20 UTC (rev 233667)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Desktop Planetarium"
+url="http://kde.org/applications/education/kstars/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('wcslib' 'libindi' 'kplotting' 'knewstuff' 'qt5-multimedia' 'kinit' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'eigen')
+install=${pkgname}.install
+replaces=('kdeedu-kstars')
+conflicts=('kdeedu-kstars')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('cbfd5cd9f0b1dafe3575cf5386760a5b893d9e6e')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kstars-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_Xplanet=OFF \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/kstars/scripts/supernova_updates_parser.py
+}

Copied: kstars/repos/kde-unstable-i686/kstars.install (from rev 233666, kstars/kde-unstable/kstars.install)
===================================================================
--- repos/kde-unstable-i686/kstars.install	                        (rev 0)
+++ repos/kde-unstable-i686/kstars.install	2015-03-14 10:13:20 UTC (rev 233667)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kstars/repos/kde-unstable-x86_64/PKGBUILD (from rev 233666, kstars/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2015-03-14 10:13:20 UTC (rev 233667)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Desktop Planetarium"
+url="http://kde.org/applications/education/kstars/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('wcslib' 'libindi' 'kplotting' 'knewstuff' 'qt5-multimedia' 'kinit' 'ktexteditor')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'eigen')
+install=${pkgname}.install
+replaces=('kdeedu-kstars')
+conflicts=('kdeedu-kstars')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('cbfd5cd9f0b1dafe3575cf5386760a5b893d9e6e')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kstars-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_Xplanet=OFF \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/kstars/scripts/supernova_updates_parser.py
+}

Copied: kstars/repos/kde-unstable-x86_64/kstars.install (from rev 233666, kstars/kde-unstable/kstars.install)
===================================================================
--- repos/kde-unstable-x86_64/kstars.install	                        (rev 0)
+++ repos/kde-unstable-x86_64/kstars.install	2015-03-14 10:13:20 UTC (rev 233667)
@@ -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