diff options
author | Haoda Wang | 2020-05-31 16:36:53 -0400 |
---|---|---|
committer | Haoda Wang | 2020-05-31 16:36:53 -0400 |
commit | b134fde542d83312cc689b6fd26fea5a8192a286 (patch) | |
tree | 27935a4934d833fae6497dc7fc5812481efd5dcd | |
download | aur-b134fde542d83312cc689b6fd26fea5a8192a286.tar.gz |
Initial commit, support R2018a
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..148eddea0b37 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = gmat-bin + pkgdesc = A secure and free password manager for all of your devices. + pkgver = 2018a + pkgrel = 1 + url = http://gmatcentral.org/ + arch = x86_64 + groups = + license = Apache + depends = cspice + conflicts = gmat + options = !strip + options = !emptydirs + source = https://downloads.sourceforge.net/project/gmat/GMAT/GMAT-R2018a/gmat-ubuntu-x64-R2018a.tar.gz + sha512sums = 9b1edbf8e9a692a2a6f5410b1165ae4b0e2085dbb05f7acbef2c4145f22d54b9525657ae900acfe8e73088a42f2f3829a3b5ffe277244cfc1d7eb0a9a1085414 + +pkgname = gmat-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e727e6ffc171 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Haoda Wang <haoda.wang@jpl.nasa.gov> + +pkgname=gmat-bin +pkgver=2018a +pkgrel=1 +pkgdesc="A secure and free password manager for all of your devices." +arch=('x86_64') +url="http://gmatcentral.org/" +license=('Apache') +groups=('') +depends=('cspice') +conflicts=('gmat') +options=('!strip' '!emptydirs') +source=("https://downloads.sourceforge.net/project/gmat/GMAT/GMAT-R${pkgver}/gmat-ubuntu-x64-R${pkgver}.tar.gz") + +package(){ + # Extract package + tar xf gmat-ubuntu-x64-R${pkgver}.tar.gz -C "${pkgdir}" + + # Move to /opt + mkdir "${pkgdir}/opt" + mv "${pkgdir}/GMAT/" "${pkgdir}/opt/" + + # Make output world-readable + chmod -R 777 "/opt/GMAT/R${pkgver}/output/" +} + +sha512sums=('9b1edbf8e9a692a2a6f5410b1165ae4b0e2085dbb05f7acbef2c4145f22d54b9525657ae900acfe8e73088a42f2f3829a3b5ffe277244cfc1d7eb0a9a1085414') |