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

pkgname=astap-bin-qt5
pkgver=2022.4.11
pkgrel=1
pkgdesc="Astrometric (plate) solver, stacking of images, photometry and FITS viewer"
provides=('astap')
conflicts=('astap-bin')
arch=('x86_64') # no 32-bit version provided
url="https://www.hnsky.org/astap.htm"
license=('LGPL3')
source=("astap.tar.gz::https://sourceforge.net/projects/astap-program/files/linux_installer/astap_amd64_qt5.tar.gz/download")
sha256sums=('56176c23161f7a6a671006a29b9c3b0d04407f564b348ad6ad5d8e8be7f6e706')

noextract=("astap.tar.gz") # bsdtar can't handle this archive because it contains a self-referential hardlink
makedepends=('tar') # but gnu tar is just fine

# these databases aren't hard-limited by the bounds provided here
# databases can identify 100% of the sky in the ranges provided,
# but can also identify some regions of the sky with FOVs smaller or larger than the given bounds
optdepends=('hyperleda-galaxy-db-astap: database of 1.3m galaxies and 171k non-star objects'
            'w08-star-db-astap: database of stars > magnitude 8, > 20° FOV'
	    'v17-photometry-color-db-astap: color database of stars > magnitude 17, 1-20° FOV, slower but required for photometry'
	    'h17-star-db-astap: database of stars > magnitude 17, 1-10° FOV'
            'h18-star-db-astap: database of stars > magnitude 18, 0.25-10° FOV')

prepare() {
    tar xpfv astap.tar.gz
}

package() {
    cp -rv "${srcdir}"/opt "${pkgdir}"/opt
    cp -rv "${srcdir}"/usr "${pkgdir}"/usr
}