summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 493807beb506577794037a620c55e0c02aae1fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Original author: Josiah Schwab <jschwab at gmail dot com>
# Maintainer: Josiah Schwab <jschwab at gmail dot com>

pkgname=mesasdk
pkgdesc="Software development kit for use with the MESA stellar evolution code"
pkgver=22.6.1
pkgrel=1
epoch=1
arch=('x86_64')
url="http://user.astro.wisc.edu/~townsend/static.php?ref=mesasdk"
provides=('mesasdk')
depends=('binutils' 'make' 'perl' 'libx11' 'zlib' 'tcsh' 'glibc')
install=mesasdk.install
source=("http://user.astro.wisc.edu/~townsend/resource/download/${pkgname}/${pkgname}-x86_64-linux-${pkgver}.tar.gz")
sha1sums=('7064eb5f636ac7af40a94fc80cf177963307f37c')
options=(staticlibs !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
}