summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWren Baxter2022-04-19 00:07:09 -0400
committerWren Baxter2022-04-19 00:07:09 -0400
commitf3b086b261f1930774d22a333e341309ef592763 (patch)
tree1cf0ab9802048cefcd055b9ec9a7e3aa3a5d2aec
parentf05638e328f8fe5272484b7664eb8bafc65ffe49 (diff)
downloadaur-f3b086b261f1930774d22a333e341309ef592763.tar.gz
Fixed file permissions; better download link
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6cad1f88e96b..b7ae54afd6b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = h18-star-db-astap
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
+ source = h18.deb::https://downloads.sourceforge.net/project/astap-program/star_databases/h18_star_database_mag18_astap.deb
sha256sums = 98e659aba0d8e09d816fa6e4ef40620a1f681f9373ae4ba1bc3c278c8bebd5a5
pkgname = h18-star-db-astap
diff --git a/PKGBUILD b/PKGBUILD
index 66fc34a7a5ad..def4bf296bd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,12 +7,13 @@ 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")
+source=("h18.deb::https://downloads.sourceforge.net/project/astap-program/star_databases/h18_star_database_mag18_astap.deb")
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}"
+ tar xfv data.tar.xz -C "${pkgdir}"
+ chmod 755 -R "${pkgdir}"
}