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

Antonio Rojas arojas at archlinux.org
Sun Jun 5 10:19:41 UTC 2016


    Date: Sunday, June 5, 2016 @ 12:19:41
  Author: arojas
Revision: 268982

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

Added:
  kstars/repos/staging-i686/
  kstars/repos/staging-i686/PKGBUILD
    (from rev 268981, kstars/trunk/PKGBUILD)
  kstars/repos/staging-x86_64/
  kstars/repos/staging-x86_64/PKGBUILD
    (from rev 268981, kstars/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: kstars/repos/staging-i686/PKGBUILD (from rev 268981, kstars/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-06-05 10:19:41 UTC (rev 268982)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=16.04.1
+pkgrel=2
+pkgdesc="Desktop Planetarium"
+url="http://kde.org/applications/education/kstars/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('wcslib' 'libindi' 'kplotting' 'knewstuff' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'eigen' 'xplanet')
+optdepends=('xplanet: XPlanet support')
+replaces=('kdeedu-kstars')
+conflicts=('kdeedu-kstars')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('6740841e1cd7c002ffd351f277fca00ab67ba735')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/kstars/scripts/supernova_updates_parser.py
+}

Copied: kstars/repos/staging-x86_64/PKGBUILD (from rev 268981, kstars/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-06-05 10:19:41 UTC (rev 268982)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=16.04.1
+pkgrel=2
+pkgdesc="Desktop Planetarium"
+url="http://kde.org/applications/education/kstars/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('wcslib' 'libindi' 'kplotting' 'knewstuff' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools' 'eigen' 'xplanet')
+optdepends=('xplanet: XPlanet support')
+replaces=('kdeedu-kstars')
+conflicts=('kdeedu-kstars')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('6740841e1cd7c002ffd351f277fca00ab67ba735')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' \
+    "${pkgdir}"/usr/share/kstars/scripts/supernova_updates_parser.py
+}



More information about the arch-commits mailing list