diff options
author | Dmytro Bagrii | 2023-03-25 21:55:01 +0200 |
---|---|---|
committer | Dmytro Bagrii | 2023-03-25 21:55:01 +0200 |
commit | 52561af99db4938d8cffc368dec01b3c35b459d0 (patch) | |
tree | b806e28468613d34801d4abf6f81e17b3199cc94 | |
download | aur-52561af99db4938d8cffc368dec01b3c35b459d0.tar.gz |
Initial commit (v1.2-1)
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 54 |
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cbf9a19c401d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = stellarium-lite + pkgdesc = Stellarium without GPS and Telescope Control support (no gpsd and libindi dependencies) + pkgver = 1.2 + pkgrel = 1 + url = https://stellarium.org + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = ninja + makedepends = mesa + makedepends = qt6-tools + depends = libpng + depends = libglvnd + depends = freetype2 + depends = openssl + depends = calcmysky + depends = qt6-charts + depends = qt6-multimedia + depends = qt6-webengine + conflicts = stellarium + source = https://github.com/Stellarium/stellarium/releases/download/v1.2/stellarium-1.2.tar.gz + source = https://github.com/Stellarium/stellarium/releases/download/v1.2/stellarium-1.2.tar.gz.asc + validpgpkeys = 79151C2E6351E7278DA1A730BF38D4D02A328DFF + md5sums = 1a9b2b69300ac54fda47cf4b801bf07f + md5sums = SKIP + sha256sums = 2cbf95839c5fbd312c08ad0f92b2ddf8a7f822bd32bc31e91f3aa28920674f60 + sha256sums = SKIP + +pkgname = stellarium-lite diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e1069dfe2844 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore + +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3704c519fd3b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Dmytro Bagrii <dimich.dmb@gmail.com> +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: Antonio Rojas <arojas@archlinux.org> +# Contributor: Ronald van Haren <ronald.archlinux.org> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> + +_pkgname=stellarium +pkgname=${_pkgname}-lite +pkgver=1.2 +pkgrel=1 +pkgdesc="Stellarium without GPS and Telescope Control support (no gpsd and libindi dependencies)" +arch=(x86_64) +url="https://${_pkgname}.org" +license=(GPL2) +depends=('libpng' 'libglvnd' 'freetype2' 'openssl' 'calcmysky' + 'qt6-charts' 'qt6-multimedia' 'qt6-webengine') # 'qxlsx' +makedepends=('cmake' 'ninja' 'mesa' 'qt6-tools') +conflicts=(${_pkgname}) +source=(https://github.com/Stellarium/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.asc}) +validpgpkeys=('79151C2E6351E7278DA1A730BF38D4D02A328DFF') # Alexander Wolf <alex.v.wolf@gmail.com> +md5sums=('1a9b2b69300ac54fda47cf4b801bf07f' + 'SKIP') +sha256sums=('2cbf95839c5fbd312c08ad0f92b2ddf8a7f822bd32bc31e91f3aa28920674f60' + 'SKIP') + +build() { + PATH="/usr/bin/core_perl/:$PATH" + cmake \ + -S ${_pkgname}-${pkgver} \ + -B build \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_COMPILER=gcc \ + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_C_EXTENSIONS=No \ + -DCMAKE_CXX_COMPILER=g++ \ + -DCMAKE_C_STANDARD=11 \ + -DCMAKE_CXX_EXTENSIONS=No \ + -DENABLE_QT6=1 \ + -DENABLE_SHOWMYSKY=ON \ + -DENABLE_TESTING=0 \ + -DENABLE_XLSX=0 \ + -DENABLE_GPS=0 \ + -DENABLE_LIBGPS=0 \ + -DUSE_PLUGIN_TELESCOPECONTROL=0 \ + -Wno-dev + cmake --build build --target all +} + +package() { + DESTDIR="${pkgdir}" cmake --build build --target install + find "${pkgdir}" -type d -empty -delete +} |