# Maintainer: Wren Baxter pkgname=astap-bin-qt5 pkgver=2022.6.14 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-${pkgver}.tar.gz::https://sourceforge.net/projects/astap-program/files/linux_installer/astap_amd64_qt5.tar.gz/download") sha256sums=('b436443dbc5af1ae5dcc3aed43c14d174832ac4b9f7a014de5cdbfb4be9b1821') noextract=("astap-${pkgver}.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 other non-star objects' 'w08-star-db-astap: database of stars up to magnitude 8, reliable above 20° FOV' 'v17-photometry-color-db-astap: color database of stars up to magnitude 17, reliable with 1-20° FOV, slower but required for photometry' 'h17-star-db-astap: database of stars up to magnitude 17, reliable with 1-10° FOV' 'h18-star-db-astap: database of stars up to magnitude 18, reliable with 0.25-10° FOV') prepare() { tar xpf "astap-${pkgver}.tar.gz" } package() { cp -r "${srcdir}"/opt "${pkgdir}"/opt cp -r "${srcdir}"/usr "${pkgdir}"/usr }