[arch-commits] Commit in kdeedu-kstars/repos (6 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Aug 16 20:08:39 UTC 2014
Date: Saturday, August 16, 2014 @ 22:08:39
Author: svenstaro
Revision: 219905
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-kstars/repos/testing-i686/
kdeedu-kstars/repos/testing-i686/PKGBUILD
(from rev 219904, kdeedu-kstars/trunk/PKGBUILD)
kdeedu-kstars/repos/testing-i686/kdeedu-kstars.install
(from rev 219904, kdeedu-kstars/trunk/kdeedu-kstars.install)
kdeedu-kstars/repos/testing-x86_64/
kdeedu-kstars/repos/testing-x86_64/PKGBUILD
(from rev 219904, kdeedu-kstars/trunk/PKGBUILD)
kdeedu-kstars/repos/testing-x86_64/kdeedu-kstars.install
(from rev 219904, 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 219904, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-08-16 20:08:39 UTC (rev 219905)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.0
+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=('4d0923ee172aa480d232946d80374eafa975a8f6')
+
+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 219904, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-i686/kdeedu-kstars.install (rev 0)
+++ testing-i686/kdeedu-kstars.install 2014-08-16 20:08:39 UTC (rev 219905)
@@ -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 219904, kdeedu-kstars/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-08-16 20:08:39 UTC (rev 219905)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.14.0
+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=('4d0923ee172aa480d232946d80374eafa975a8f6')
+
+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 219904, kdeedu-kstars/trunk/kdeedu-kstars.install)
===================================================================
--- testing-x86_64/kdeedu-kstars.install (rev 0)
+++ testing-x86_64/kdeedu-kstars.install 2014-08-16 20:08:39 UTC (rev 219905)
@@ -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