summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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/
+}