diff options
author | Chris Billington | 2018-11-25 19:31:10 -0500 |
---|---|---|
committer | Chris Billington | 2018-11-25 19:31:10 -0500 |
commit | 362a5e568fd61557ea68eb059d56defbdb0a9e9f (patch) | |
tree | 1cb1e4c26711bcf030045d311d50b24216cc8458 | |
download | aur-362a5e568fd61557ea68eb059d56defbdb0a9e9f.tar.gz |
Initial commit for radia 4.31
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a8c37cc1566c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = radia + pkgdesc = Mathematica addon for magnetostatics calculations + pkgver = 4.31 + pkgrel = 1 + url = http://www.esrf.eu/Accelerators/Groups/InsertionDevices/Software/Radia + arch = x86_64 + license = custom + depends = mathematica + source = http://ftp.esrf.fr/pub/InsertionDevices/RADIA/V4.31/Linux/Mathematica10/Radia_4_31_linux2.6_x64_mma10.tgz + sha512sums = a459730a63a067f42d0df8a7472caa00979f15c307c49d17cb658838e02fa0cebe47b1bc80f3e438dc021917b4c2ddc8c251867655365346ed3dc0890c7fa567 + +pkgname = radia + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..043ad2fba69a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Chris Billington <chrisjbillington@gmail.com> +pkgname=radia +pkgver=4.31 +pkgrel=1 +pkgdesc="Mathematica addon for magnetostatics calculations" +arch=('x86_64') +url="http://www.esrf.eu/Accelerators/Groups/InsertionDevices/Software/Radia" +license=('custom') +depends=('mathematica') +source=("http://ftp.esrf.fr/pub/InsertionDevices/RADIA/V$pkgver/Linux/Mathematica10/Radia_${pkgver//./_}_linux2.6_x64_mma10.tgz") +sha512sums=("a459730a63a067f42d0df8a7472caa00979f15c307c49d17cb658838e02fa0cebe47b1bc80f3e438dc021917b4c2ddc8c251867655365346ed3dc0890c7fa567") + +package() { + install -d "${pkgdir}/opt/Mathematica/AddOns/Applications/" + cp -R "$srcdir/Radia" "${pkgdir}/opt/Mathematica/AddOns/Applications/" + chmod -R 755 "${pkgdir}/opt/Mathematica/AddOns/Applications/Radia" + install -Dm644 "$srcdir/Radia/CopyRight.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
\ No newline at end of file |