# Maintainer: Wren Baxter pkgname=astap-bin-qt5 pkgver=2024.03.27 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, consider building from source with the `astap` package url="https://www.hnsky.org/astap.htm" license=('LGPL3') source=("astap-${pkgver}.tar.gz::https://github.com/wrenby/astap-backups/raw/b9e2caae7dc7bf02487690670e70639214cef7de/astap_amd64_qt5.tar.gz") md5sums=('fe05a8f077bb597428e4a9f2b6398ef5') 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 depends=('qt5pas' 'libjpeg-turbo' 'libx11' 'gcc-libs' 'zlib' 'glibc') # 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 # there is no downside to choosing the bigger d__ databases, other than the larger file size optdepends=('hyperleda-galaxy-db-astap: 25MB database of 1.3m galaxies and 171k other non-star objects' 'w08-star-db-astap: 250KB database of stars up to magnitude 8, reliable above 20° FOV' 'g05-star-db-astap: same as d05 but with larger 10 degree tiles, reliable with 1-20° FOV' 'd05-star-db-astap: 100MB database of 500 stars per square degree, reliable with 0.6-10° FOV' 'd20-star-db-astap: 400MB database of 2000 stars per square degree, reliable with 0.3-10° FOV' 'd50-star-db-astap: 900MB database of 5000 stars per square degree, reliable with 0.2-10° FOV' 'v50-star-db-astap: 1GB, same as d50 but includes photometry info, reliable with 0.2-10° FOV' 'd80-star-db-astap: 1.2GB database of 8000 stars per square degree, reliable with 0.15-10° FOV') prepare() { tar xpf "astap-${pkgver}.tar.gz" } package() { cp -r "${srcdir}"/opt "${pkgdir}"/opt mkdir -p "${pkgdir}"/usr/share/applications cp "${srcdir}"/usr/share/applications/ASTAP.desktop "${pkgdir}"/usr/share/applications/ASTAP.desktop mkdir -p "${pkgdir}"/usr/bin ln -s /opt/astap/astap "${pkgdir}"/usr/bin/astap }