[arch-commits] Commit in kstars/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Jul 23 18:31:01 UTC 2016
Date: Saturday, July 23, 2016 @ 18:31:00
Author: arojas
Revision: 272311
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kstars/repos/kde-unstable-i686/
kstars/repos/kde-unstable-i686/PKGBUILD
(from rev 272310, kstars/kde-unstable/PKGBUILD)
kstars/repos/kde-unstable-x86_64/
kstars/repos/kde-unstable-x86_64/PKGBUILD
(from rev 272310, kstars/kde-unstable/PKGBUILD)
------------------------------+
kde-unstable-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
kde-unstable-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: kstars/repos/kde-unstable-i686/PKGBUILD (from rev 272310, kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2016-07-23 18:31:00 UTC (rev 272311)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=16.07.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('ad5787cdae0fd2b24634a72becf1f2ff08c50dd8')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_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/kde-unstable-x86_64/PKGBUILD (from rev 272310, kstars/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2016-07-23 18:31:00 UTC (rev 272311)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=16.07.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/kstars-${pkgver}.tar.xz")
+sha1sums=('ad5787cdae0fd2b24634a72becf1f2ff08c50dd8')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_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