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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Sep 20 16:15:57 UTC 2014


    Date: Saturday, September 20, 2014 @ 18:15:57
  Author: svenstaro
Revision: 222291

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

Added:
  kdeedu-kstars/repos/testing-i686/
  kdeedu-kstars/repos/testing-i686/PKGBUILD
    (from rev 222290, kdeedu-kstars/trunk/PKGBUILD)
  kdeedu-kstars/repos/testing-i686/kdeedu-kstars.install
    (from rev 222290, kdeedu-kstars/trunk/kdeedu-kstars.install)
  kdeedu-kstars/repos/testing-x86_64/
  kdeedu-kstars/repos/testing-x86_64/PKGBUILD
    (from rev 222290, kdeedu-kstars/trunk/PKGBUILD)
  kdeedu-kstars/repos/testing-x86_64/kdeedu-kstars.install
    (from rev 222290, 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 222290, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-09-20 16:15:57 UTC (rev 222291)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.1
+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=('a7856326fbc1791285a91c4f30e00ffa3df945ad')
+
+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 222290, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-i686/kdeedu-kstars.install	                        (rev 0)
+++ testing-i686/kdeedu-kstars.install	2014-09-20 16:15:57 UTC (rev 222291)
@@ -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 222290, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-09-20 16:15:57 UTC (rev 222291)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.1
+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=('a7856326fbc1791285a91c4f30e00ffa3df945ad')
+
+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 222290, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-x86_64/kdeedu-kstars.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kstars.install	2014-09-20 16:15:57 UTC (rev 222291)
@@ -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