[arch-commits] Commit in kdeedu-kstars/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Fri Nov 8 17:38:48 UTC 2013
Date: Friday, November 8, 2013 @ 18:38:47
Author: andrea
Revision: 199139
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 199138, kdeedu-kstars/kde-unstable/PKGBUILD)
kdeedu-kstars/repos/kde-unstable-i686/kdeedu-kstars.install
(from rev 199138, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
kdeedu-kstars/repos/kde-unstable-x86_64/
kdeedu-kstars/repos/kde-unstable-x86_64/PKGBUILD
(from rev 199138, kdeedu-kstars/kde-unstable/PKGBUILD)
kdeedu-kstars/repos/kde-unstable-x86_64/kdeedu-kstars.install
(from rev 199138, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
-------------------------------------------+
kde-unstable-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++
kde-unstable-i686/kdeedu-kstars.install | 11 +++++++++
kde-unstable-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++
kde-unstable-x86_64/kdeedu-kstars.install | 11 +++++++++
4 files changed, 88 insertions(+)
Copied: kdeedu-kstars/repos/kde-unstable-i686/PKGBUILD (from rev 199138, kdeedu-kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2013-11-08 17:38:47 UTC (rev 199139)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.11.80
+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')
+makedepends=('cmake' 'automoc4' 'eigen')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('7ef7dbee0e60e8fc66dce3ab7f341960ef4a2752')
+
+build() {
+ mkdir 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 199138, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
===================================================================
--- kde-unstable-i686/kdeedu-kstars.install (rev 0)
+++ kde-unstable-i686/kdeedu-kstars.install 2013-11-08 17:38:47 UTC (rev 199139)
@@ -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 199138, kdeedu-kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-11-08 17:38:47 UTC (rev 199139)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kstars
+pkgver=4.11.80
+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')
+makedepends=('cmake' 'automoc4' 'eigen')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('7ef7dbee0e60e8fc66dce3ab7f341960ef4a2752')
+
+build() {
+ mkdir 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 199138, kdeedu-kstars/kde-unstable/kdeedu-kstars.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kstars.install (rev 0)
+++ kde-unstable-x86_64/kdeedu-kstars.install 2013-11-08 17:38:47 UTC (rev 199139)
@@ -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