[arch-commits] Commit in kstars/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat May 26 10:40:35 UTC 2018
Date: Saturday, May 26, 2018 @ 10:40:34
Author: arojas
Revision: 330057
archrelease: copy trunk to extra-x86_64
Added:
kstars/repos/extra-x86_64/
kstars/repos/extra-x86_64/PKGBUILD
(from rev 330056, kstars/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: kstars/repos/extra-x86_64/PKGBUILD (from rev 330056, kstars/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2018-05-26 10:40:34 UTC (rev 330057)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonamrs at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kstars
+pkgver=2.9.6
+pkgrel=1
+epoch=1
+pkgdesc="Desktop Planetarium"
+url="https://kde.org/applications/education/kstars/"
+arch=(x86_64)
+license=(GPL LGPL FDL)
+depends=(wcslib libraw kplotting knewstuff knotifyconfig qt5-datavis3d libindi qt5-quickcontrols hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools eigen)
+optdepends=('xplanet: XPlanet support')
+source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('a0c8065433ba0f4068274a388a07a3499dcfe1ff09eea314f82a4baa1048d9a6'
+ 'SKIP')
+validpgpkeys=(259D9FCEE9175351965633696D9CE2AEE028C4F3) # Jasem Mutlaq <mutlaqja at ikarustech.com>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DOpenGL_GL_PREFERENCE=GLVND
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list