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

pkgname=d80-star-db-astap
pkgver=2023.09.29
pkgrel=1
pkgdesc="D80 star database for 10>FOV>0.15 degrees. Size 1.2GB"
arch=('any')
url="https://www.hnsky.org/astap.htm"
license=('LGPL3')
source=('d80.deb::https://sourceforge.net/projects/astap-program/files/star_databases/d80_star_database.deb/download')
md5sums=('1d0683cbc0d0330df03378fab9d899bf')
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')

prepare() {
    tar -xf data.tar.xz
}

package() {
    mkdir -p "${pkgdir}"/opt
    cp -r "${srcdir}/opt/astap" "${pkgdir}"/opt
    chmod 755 -R "${pkgdir}"
    chmod 644 "${pkgdir}"/opt/astap/*
}