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

Felix Yan fyan at archlinux.org
Wed Feb 4 06:38:20 UTC 2015


    Date: Wednesday, February 4, 2015 @ 07:38:20
  Author: fyan
Revision: 230520

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  kdeedu-kstars/repos/testing-i686/
  kdeedu-kstars/repos/testing-i686/PKGBUILD
    (from rev 230519, kdeedu-kstars/trunk/PKGBUILD)
  kdeedu-kstars/repos/testing-i686/kdeedu-kstars.install
    (from rev 230519, kdeedu-kstars/trunk/kdeedu-kstars.install)
  kdeedu-kstars/repos/testing-x86_64/
  kdeedu-kstars/repos/testing-x86_64/PKGBUILD
    (from rev 230519, kdeedu-kstars/trunk/PKGBUILD)
  kdeedu-kstars/repos/testing-x86_64/kdeedu-kstars.install
    (from rev 230519, kdeedu-kstars/trunk/kdeedu-kstars.install)

--------------------------------------+
 testing-i686/PKGBUILD                |   39 +++++++++++++++++++++++++++++++++
 testing-i686/kdeedu-kstars.install   |   11 +++++++++
 testing-x86_64/PKGBUILD              |   39 +++++++++++++++++++++++++++++++++
 testing-x86_64/kdeedu-kstars.install |   11 +++++++++
 4 files changed, 100 insertions(+)

Copied: kdeedu-kstars/repos/testing-i686/PKGBUILD (from rev 230519, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 06:38:20 UTC (rev 230520)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=14.12.2
+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' 'wcslib' 'libindi' 'qjson')
+makedepends=('cmake' 'automoc4' 'eigen')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('1a103faf5a799f7e791f4dbc3f1641829241af0e')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kstars-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_Xplanet=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/apps/kstars/scripts/supernova_updates_parser.py
+}

Copied: kdeedu-kstars/repos/testing-i686/kdeedu-kstars.install (from rev 230519, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-i686/kdeedu-kstars.install	                        (rev 0)
+++ testing-i686/kdeedu-kstars.install	2015-02-04 06:38:20 UTC (rev 230520)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdeedu-kstars/repos/testing-x86_64/PKGBUILD (from rev 230519, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 06:38:20 UTC (rev 230520)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=14.12.2
+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' 'wcslib' 'libindi' 'qjson')
+makedepends=('cmake' 'automoc4' 'eigen')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('1a103faf5a799f7e791f4dbc3f1641829241af0e')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kstars-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_Xplanet=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/apps/kstars/scripts/supernova_updates_parser.py
+}

Copied: kdeedu-kstars/repos/testing-x86_64/kdeedu-kstars.install (from rev 230519, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-x86_64/kdeedu-kstars.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kstars.install	2015-02-04 06:38:20 UTC (rev 230520)
@@ -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