summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 6a3516328086f0e3dbd225aa2f88f4559ca8abe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Jaron Kent-Dobias <jaron@kent-dobias.com>

pkgbase=wolframscript
pkgname=wolframscript-aarch64
pkgver=1.4.0+2020081702
pkgrel=1
arch=('aarch64')
url="https://www.wolfram.com/raspberry-pi/"
license=('proprietary')
depends=(armv6h-libs)
source=("https://files.wolframcdn.com/raspbian/12.1.1.0/wolframscript_1.4.0+2020081702_armhf.deb"
        "wolframscript")
sha512sums=('ccb8223da748abce72776fce9e7ea4de7c73f0540cccf59792262bffe7467e10d468cfb8a9e171a0994116430b7b9367990e84926375ba97fa1d8f3eb1ce75a6'
            'd1cd427adb36f5b2ccaafb2a2f30269508716dc1cedc01f318d8a8db4f25309690d06f3c6e36673cd3c891740211a6be4e946d55023e0ce8fdee2375e8ac66f3')
options=(!strip)

prepare() {
  ar xv wolframscript_${pkgver}_armhf.deb
}

package() {
  cd ${pkgdir}
  tar -xf ${srcdir}/data.tar.xz

  mkdir usr/bin
  cp ${srcdir}/wolframscript usr/bin/wolframscript
}