summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWren Baxter2022-04-18 23:24:01 -0400
committerWren Baxter2022-04-18 23:24:01 -0400
commitf05638e328f8fe5272484b7664eb8bafc65ffe49 (patch)
treed8c8076e4725bbbb802603e0c65b84db9f76cec1
downloadaur-f05638e328f8fe5272484b7664eb8bafc65ffe49.tar.gz
Initial commit: 2021.1.3
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD18
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..6cad1f88e96b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = h18-star-db-astap
+ pkgdesc = Database of 208 million stars up to BP-magnitude 18, for use with ASTAP
+ pkgver = 2021.1.3
+ pkgrel = 1
+ url = https://www.hnsky.org/astap.htm
+ arch = any
+ license = LGPL3
+ depends = astap
+ source = h18.deb::https://sourceforge.net/projects/astap-program/files/star_databases/h18_star_database_mag18_astap.deb/download
+ sha256sums = 98e659aba0d8e09d816fa6e4ef40620a1f681f9373ae4ba1bc3c278c8bebd5a5
+
+pkgname = h18-star-db-astap
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..66fc34a7a5ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Wren Baxter <aur [at] wren.dev>
+
+pkgname=h18-star-db-astap
+pkgver=2021.1.3
+pkgrel=1
+pkgdesc="Database of 208 million stars up to BP-magnitude 18, for use with ASTAP"
+arch=('any')
+url="https://www.hnsky.org/astap.htm"
+license=('LGPL3')
+source=("h18.deb::https://sourceforge.net/projects/astap-program/files/star_databases/h18_star_database_mag18_astap.deb/download")
+sha256sums=('98e659aba0d8e09d816fa6e4ef40620a1f681f9373ae4ba1bc3c278c8bebd5a5')
+depends=('astap')
+
+# the deb is automatically unpacked in the automatic prepare() step, but the files we want are doubly archived
+package() {
+ tar xpfv data.tar.xz -C "${pkgdir}"
+}
+