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

Felix Yan fyan at archlinux.org
Wed Nov 19 17:57:28 UTC 2014


    Date: Wednesday, November 19, 2014 @ 18:57:28
  Author: fyan
Revision: 226521

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

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

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

Copied: kdeedu-kstars/repos/testing-i686/PKGBUILD (from rev 226520, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-19 17:57:28 UTC (rev 226521)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.3
+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/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('108b204308d464f03f3119b08d2e53c203615c05')
+
+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 226520, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-i686/kdeedu-kstars.install	                        (rev 0)
+++ testing-i686/kdeedu-kstars.install	2014-11-19 17:57:28 UTC (rev 226521)
@@ -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 226520, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-19 17:57:28 UTC (rev 226521)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.3
+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/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('108b204308d464f03f3119b08d2e53c203615c05')
+
+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 226520, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-x86_64/kdeedu-kstars.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kstars.install	2014-11-19 17:57:28 UTC (rev 226521)
@@ -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