diff options
author | Oscar Morante | 2018-01-19 19:35:47 +0100 |
---|---|---|
committer | Oscar Morante | 2018-01-19 19:39:00 +0100 |
commit | 927b3185252eceaad944995e7d63b81a6d02b34f (patch) | |
tree | bb9e72e5a0aec4cb845172fb39078827f702ad5b | |
parent | da249f6fbb4e85d29531d4bbe827f595a414db18 (diff) | |
download | aur-927b3185252eceaad944995e7d63b81a6d02b34f.tar.gz |
workaround bug in unity installer
There's a bug in the installer that tries to do GUI stuff when you use
the contracted version of the parameters. Now it should work on
chroots/headless systems.
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -10,7 +10,7 @@ _unitydownloads="http://beta.unity3d.com/download/${_randomstring}" pkgname=unity-editor-facebook pkgver=${_version}${_build}+${_buildtag} -pkgrel=1 +pkgrel=2 pkgdesc="Allows building your Unity projects for the Facebook-Games platform" arch=('x86_64') url='https://unity3d.com/' @@ -23,12 +23,15 @@ options=(!strip) PKGEXT='.pkg.tar' # Prevent compressing of the final package unity-setup() { - ./UnitySetup-${_version}${_build} -d "${startdir}" -l "${pkgdir}${_prefix}" -u $@ + ./UnitySetup-${_version}${_build} \ + --download-location="${startdir}" \ + --install-location="${pkgdir}${_prefix}" \ + --unattended $@ } extract-component() { msg2 "Extracting $1..." - yes | unity-setup -c $1 > "/tmp/$1.log" + yes | unity-setup --components=$1 > "/tmp/$1.log" } prepare() { |