diff options
author | Oscar Morante | 2018-09-12 17:45:04 +0300 |
---|---|---|
committer | Oscar Morante | 2018-09-12 17:45:04 +0300 |
commit | c8edce806227f56b06dd028f26566cb30f8d88fb (patch) | |
tree | 859a7f9bc62fa0af52517d59ed3586ccaccc03f6 | |
parent | 37da7410c3a08479dffda7ac7bf03a5f61686a82 (diff) | |
download | aur-c8edce806227f56b06dd028f26566cb30f8d88fb.tar.gz |
update to new upstream version (2018.3.0b1)
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 14 insertions, 36 deletions
@@ -1,21 +1,19 @@ pkgbase = unity-editor-beta-android pkgdesc = Allows building your Unity projects for the Android platform - pkgver = 2018.2.0f1+20180709 + pkgver = 2018.3.0b1+20180709 pkgrel = 1 url = https://unity3d.com/ arch = x86_64 license = custom - makedepends = gtk3 - makedepends = libsoup - makedepends = libarchive + makedepends = cpio depends = unity-editor-beta depends = android-platform depends = android-sdk-build-tools depends = android-udev optdepends = android-ndk-13b: needed for IL2CPP builds options = !strip - source = http://beta.unity3d.com/download/db9a69dc5569/UnitySetup-2018.2.0f1 - sha1sums = 25f558636adc41bc8263dc4976fd9df86d1f9f6d + source = https://beta.unity3d.com/download/3f0ac31c6d6f/MacEditorTargetInstaller/UnitySetup-Android-Support-for-Editor-2018.3.0b1.pkg + sha1sums = c91d8ac322184e5e919ab6dac927ad65339ba3ec pkgname = unity-editor-beta-android @@ -1,12 +1,10 @@ # Maintainer: Oscar Morante <spacepluk at gmail dot com> -_version=2018.2.0 -_build=f1 +_version=2018.3.0 +_build=b1 _buildtag=20180709 -_randomstring=db9a69dc5569 +_randomstring=3f0ac31c6d6f _prefix=/opt/UnityBeta -_unitydownloads="http://beta.unity3d.com/download/${_randomstring}" -#_keepdownloads=yes pkgname=unity-editor-beta-android pkgver=${_version}${_build}+${_buildtag} @@ -20,34 +18,16 @@ depends=('unity-editor-beta' 'android-sdk-build-tools' 'android-udev') optdepends=('android-ndk-13b: needed for IL2CPP builds') -makedepends=('gtk3' 'libsoup' 'libarchive') -source=("${_unitydownloads}/UnitySetup-${_version}${_build}") -sha1sums=('25f558636adc41bc8263dc4976fd9df86d1f9f6d') +makedepends=('cpio') +source=("https://beta.unity3d.com/download/${_randomstring}/MacEditorTargetInstaller/UnitySetup-Android-Support-for-Editor-${_version}${_build}.pkg") +sha1sums=('c91d8ac322184e5e919ab6dac927ad65339ba3ec') options=(!strip) PKGEXT='.pkg.tar' # Prevent compressing of the final package -unity-setup() { - ./UnitySetup-${_version}${_build} \ - --download-location="${startdir}" \ - --install-location="${pkgdir}${_prefix}" \ - --unattended $@ -} - -extract-component() { - msg2 "Extracting $1..." - yes | unity-setup --components=$1 > "/tmp/$1.log" -} - -prepare() { - chmod +x "${srcdir}/UnitySetup-${_version}${_build}" -} - package() { - mkdir -p "${pkgdir}${_prefix}" - extract-component Android - - if [ -z "${_keepdownloads}" ]; then - rm "${startdir}/UnitySetup-Android-Support-for-Editor-${_version}${_build}.pkg" - fi + _dest="${pkgdir}/${_prefix}/Editor/Data/PlaybackEngines/AndroidPlayer" + install -d "${_dest}" + cd "${_dest}" + cat "${srcdir}/TargetSupport.pkg.tmp/Payload" | gzip -dc | cpio -i } |