# Maintainer: Wren Baxter pkgname=astap-bin-qt5 pkgver=2022.12.26 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://github.com/wrenby/astap-backups/raw/2e9607dfdc965a2e506ec60946e63f465f1c57c4/astap_amd64_qt5.tar.gz") md5sums=('e561554cc1f494ee7ab072f1f34d377f') 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 }