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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Jul 25 14:57:22 UTC 2014


    Date: Friday, July 25, 2014 @ 16:57:22
  Author: svenstaro
Revision: 217956

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

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

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

Copied: kdeedu-kstars/repos/kde-unstable-i686/PKGBUILD (from rev 217955, kdeedu-kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2014-07-25 14:57:22 UTC (rev 217956)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.13.95
+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/unstable/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('c2afaabacf422c3c0c56c50c5d72da733040f85e')
+
+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/kde-unstable-i686/kdeedu-kstars.install (from rev 217955, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
===================================================================
--- kde-unstable-i686/kdeedu-kstars.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-kstars.install	2014-07-25 14:57:22 UTC (rev 217956)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 217955, kdeedu-kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2014-07-25 14:57:22 UTC (rev 217956)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.13.95
+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/unstable/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('c2afaabacf422c3c0c56c50c5d72da733040f85e')
+
+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/kde-unstable-x86_64/kdeedu-kstars.install (from rev 217955, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kstars.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeedu-kstars.install	2014-07-25 14:57:22 UTC (rev 217956)
@@ -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