summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c8cb7f15511e9f3451102647207c6272f1ad86d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Matthew Haigh <matthaigh27@gmail.com>
# This PKGBUILD needs an rpm downloaded from https://account.wolfram.com/products/downloads/wolframscript
# placed in the same directory

pkgname=wolframscript
pkgver=13.1.0
pkgrel=1
pkgdesc="Execute Wolfram Language Code Anywhere"
arch=('x86_64')
url="https://www.wolfram.com/wolframscript/"
license=('proprietary')
source=("local://WolframScript_${pkgver}_LINUX64_x86_64.rpm")
conflicts=('mathematica')
# The conflict arises due to some files that both packages use.
# If you would like both installed, install the generated .tar.xz --overwrite '*' 
md5sums=('6462987f1b96a2be353c087fd50c6a3f')

package() {
  cd "${srcdir}"
  install -Dm 0755 opt/Wolfram/WolframScript/bin/wolframscript -t "${pkgdir}"/usr/bin/
  install -D opt/Wolfram/WolframScript/man/man1/wolframscript.1 -t "${pkgdir}"/usr/share/man/man1
  cp -r usr/share/* "${pkgdir}"/usr/share/
}