blob: f7773bb9283e2c257e93a748c5772472350c2094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer Evgeniy Dombek <edombek@yandex.ru>
pkgname=kstars-git
pkgver=1c15c8c7e
pkgrel=1
epoch=1
pkgdesc='Desktop Planetarium'
url='https://kde.org/applications/education/kstars/'
arch=(x86_64)
license=(GPL LGPL FDL)
depends=(stellarsolver libraw kplotting knewstuff knotifyconfig qt6-datavis3d qt6-websockets qtkeychain
libindi breeze-icons hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools eigen)
optdepends=('xplanet: XPlanet support')
source=(git+https://github.com/KDE/kstars)
md5sums=('SKIP')
provides=(kstars)
conflicts=(kstars)
pkgver() {
cd kstars
#git describe --long --tags | sed 's/-/./;s/-/./'
git rev-parse --short HEAD
}
build() {
cmake -B build -S kstars \
-DBUILD_QT5=OFF \
-DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|