diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 | ||||
-rwxr-xr-x | wolframscript | 2 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a9f41a3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = wolframscript + pkgver = 1.3.0+2019062801 + pkgrel = 1 + url = https://www.wolfram.com/raspberry-pi/ + arch = aarch64 + license = proprietary + depends = armv6h-libs + options = !strip + source = http://wac.36f4.edgecastcdn.net/0036F4/raspbian/wolframscript_1.3.0+2019062801_armhf.deb + source = wolframscript + sha512sums = ad9988cd0bd66082b46720df1e5d27e0b9d40c48c775bb543fdc41ada213b2c188fa6686968085a67084334029348de1f083c5a4b98a71aa2fc4a9ee7a55cfb6 + sha512sums = 65e9eac01468f1bf02fdd500d2c984893efaee668e7f18e1beef058c8cbb39901106f40a3f668dc7acf811ccb32eb21f5e299861afb240e56cac731c22560695 + +pkgname = wolframscript-aarch64 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e53c586 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Jaron Kent-Dobias <jaron@kent-dobias.com> + +pkgbase=wolframscript +pkgname=wolframscript-aarch64 +pkgver=1.3.0+2019062801 +pkgrel=1 +arch=('aarch64') +url="https://www.wolfram.com/raspberry-pi/" +license=('proprietary') +depends=('armv6h-libs') +source=("http://wac.36f4.edgecastcdn.net/0036F4/raspbian/wolframscript_1.3.0+2019062801_armhf.deb" + 'wolframscript') +sha512sums=('ad9988cd0bd66082b46720df1e5d27e0b9d40c48c775bb543fdc41ada213b2c188fa6686968085a67084334029348de1f083c5a4b98a71aa2fc4a9ee7a55cfb6' + '65e9eac01468f1bf02fdd500d2c984893efaee668e7f18e1beef058c8cbb39901106f40a3f668dc7acf811ccb32eb21f5e299861afb240e56cac731c22560695') +options=(!strip) + +prepare() { + ar xv wolframscript_${pkgver}_armhf.deb +} + +package() { + cd ${pkgdir} + tar -xf ${srcdir}/data.tar.xz + + mkdir usr/bin + cp ../../wolframscript usr/bin/ +} diff --git a/wolframscript b/wolframscript new file mode 100755 index 0000000..b9a304f --- /dev/null +++ b/wolframscript @@ -0,0 +1,2 @@ +#!/bin/sh +LD_LIBRARY_PATH=/usr/libv6h:$LD_LIBRARY_PATH /opt/Wolfram/WolframScript/bin/wolframscript "$@" |