summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosiah Schwab2018-01-28 15:15:05 -0800
committerJosiah Schwab2018-01-28 15:15:05 -0800
commit1e467c58037f71c69944872540afc2123f385a00 (patch)
treeb01e223d2939511bfdaaecfe401a7419deed64ed
parentc0f86ee387156d58e6722b86ce6b9a5b21794e47 (diff)
downloadaur-1e467c58037f71c69944872540afc2123f385a00.tar.gz
Update to 20181027 release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
-rw-r--r--mesasdk.install9
3 files changed, 16 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85fae943e7bd..0daf8c1a83dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Nov 21 00:55:59 UTC 2017
+# Sun Jan 28 23:14:56 UTC 2018
pkgbase = mesasdk
pkgdesc = Software development kit for use with the MESA stellar evolution code
- pkgver = 20171120
+ pkgver = 20180127
pkgrel = 1
url = http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
install = mesasdk.install
@@ -16,8 +16,8 @@ pkgbase = mesasdk
depends = glibc
provides = mesasdk
options = !strip
- source = http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-20171120.tar.gz
- sha1sums = 34faaf1cc20dbbd7b98e4c2084642f6a4cd3e2a0
+ source = http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-20180127.tar.gz
+ sha1sums = 5ff63d61c03a3e3c193a4d510c78daeaa00efdcd
pkgname = mesasdk
diff --git a/PKGBUILD b/PKGBUILD
index f406a3d92cb8..c4d54fd3fdcc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mesasdk
pkgdesc="Software development kit for use with the MESA stellar evolution code"
-pkgver=20171120
+pkgver=20180127
pkgrel=1
arch=('x86_64')
url="http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk"
@@ -11,10 +11,13 @@ provides=('mesasdk')
depends=('binutils' 'make' 'perl' 'libx11' 'zlib' 'tcsh' 'glibc')
install=mesasdk.install
source=("http://www.astro.wisc.edu/~townsend/resource/download/${pkgname}/${pkgname}-x86_64-linux-${pkgver}.tar.gz")
-sha1sums=('34faaf1cc20dbbd7b98e4c2084642f6a4cd3e2a0')
+sha1sums=('5ff63d61c03a3e3c193a4d510c78daeaa00efdcd')
options=('!strip')
package() {
mkdir -p ${pkgdir}/opt
tar --extract --file ${pkgname}-x86_64-linux-${pkgver}.tar.gz --directory ${pkgdir}/opt
+
+ # get rid of the old .regen_headers
+ rm -f ${pkgdir}/opt/mesasdk/.regen_headers
}
diff --git a/mesasdk.install b/mesasdk.install
index cd7d8c3a225b..d32dd401a6e4 100644
--- a/mesasdk.install
+++ b/mesasdk.install
@@ -1,9 +1,14 @@
post_install() {
echo "Installed MESA SDK to /opt/mesasdk"
+
+ # we know this is an OK arch and has the prereqs
+ touch opt/mesasdk/etc/check_arch.done
+ touch opt/mesasdk/etc/check_preq.done
+
GCC_VERSION=$(/opt/mesasdk/bin/gcc -dumpversion)
/opt/mesasdk/libexec/gcc/x86_64-pc-linux-gnu/${GCC_VERSION}/install-tools/mkheaders /opt/mesasdk
- touch /opt/mesasdk/.regen_header
- echo "Fixed header files"
+ touch /opt/mesasdk/etc/regen_headers.done
+ echo "Regenerated headers"
}
post_upgrade() {