summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhriedplanck2020-06-16 13:57:34 +0800
committerwhriedplanck2020-06-16 13:57:34 +0800
commitfdd838a5cb9b3cae0d92771dc12e5d106f20f38b (patch)
treee0d0ec673b53c856c2ca0e23e94b91beeffbeed0
downloadaur-fdd838a5cb9b3cae0d92771dc12e5d106f20f38b.tar.gz
add repo
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..ac136a223d61
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = g17-star-database-mag17-astap
+ pkgdesc = For the internal astrometric solver of astap. Contains 105 million stars up to magnitude 17.
+ pkgver = 20190906
+ pkgrel = 1
+ url = http://www.hnsky.org/astap.htm
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = astap-bin
+ source = https://astuteinternet.dl.sourceforge.net/project/astap-program/star_databases/g17_star_database_mag17_astap.deb
+ sha1sums = 94a896595ef874f13e0805107892379375591fe4
+
+pkgname = g17-star-database-mag17-astap
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..03a4f881410f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: whriedplanck
+
+pkgname=g17-star-database-mag17-astap
+pkgver=20190906
+pkgrel=1
+pkgdesc="For the internal astrometric solver of astap. Contains 105 million stars up to magnitude 17."
+arch=('i686' 'x86_64')
+url="http://www.hnsky.org/astap.htm"
+license=('GPL')
+depends=('astap-bin')
+source=("https://astuteinternet.dl.sourceforge.net/project/astap-program/star_databases/g17_star_database_mag17_astap.deb")
+sha1sums=('94a896595ef874f13e0805107892379375591fe4')
+
+#build() {
+# if [[ "$CARCH" == "i686" ]]; then
+# ar x "${_pkgname}_i386.deb"
+# else
+# ar x "${_pkgname}_amd64.deb"
+# fi
+#}
+
+package() {
+ bsdtar -xf data.tar.xz -C "$pkgdir"
+ cd "${pkgdir}"
+ chmod 755 opt/
+}