summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9cdd0132938ee0ef7cc575fbeea44c2d472bcaaf (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
# Maintainer: Wren Baxter <aur [at] wren.dev>

pkgname=hyperleda-galaxy-db-astap
pkgver=2019.5.3
pkgrel=5
pkgdesc="Database of 1.3m galaxies and 171k other non-star objects. Size 25MB"
arch=('any')
url="http://leda.univ-lyon1.fr/"
license=('LGPL3')
source=("hyperleda.deb::https://downloads.sourceforge.net/project/astap-program/star_databases/hyperleda.deb")
sha256sums=('98ab5a23a468addce87f3fc534a67f8b53d64388af0e1ed162b22f3765f27758')
optdepends=('astap-bin: binary GTk version'
	    'astap-bin-qt5: binary Qt version'
	    'astap: sourced Qt version'
	    'astap-cli: CLI version'
	    'hnsky-hg: planetarium program, hg-version'
	    'hnsky-bin: planetarium program, bin-version')

# the deb is automatically unpacked in the automatic prepare() step, but the files we want are doubly archived
package() {
    tar xfv data.tar.xz -C "${pkgdir}"
    chmod 755 -R "${pkgdir}"
    chmod 644 "${pkgdir}"/opt/astap/*
}