diff options
author | Oscar Morante | 2018-09-12 17:45:10 +0300 |
---|---|---|
committer | Oscar Morante | 2018-09-12 17:45:10 +0300 |
commit | d0a456a5b94b2fe47f5f3bdfd6b8229801becd02 (patch) | |
tree | 001efa593ed1e4cae5f7236b067c90faaeb2b575 | |
parent | 04e2b3c4b32ff44b87965360735453c3a4f505d7 (diff) | |
download | aur-d0a456a5b94b2fe47f5f3bdfd6b8229801becd02.tar.gz |
update to new upstream version (2018.3.0b1)
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 14 insertions, 37 deletions
@@ -1,17 +1,15 @@ pkgbase = unity-editor-beta-mac pkgdesc = Allows building your Unity projects for the Mac platform - pkgver = 2018.2.0f1+20180709 + pkgver = 2018.3.0b1+ pkgrel = 1 url = https://unity3d.com/ arch = x86_64 license = custom - makedepends = gtk3 - makedepends = libsoup - makedepends = libarchive + makedepends = cpio depends = unity-editor-beta options = !strip - source = http://beta.unity3d.com/download/db9a69dc5569/UnitySetup-2018.2.0f1 - sha1sums = 25f558636adc41bc8263dc4976fd9df86d1f9f6d + source = https://beta.unity3d.com/download/3f0ac31c6d6f/MacEditorTargetInstaller/UnitySetup-Mac-Mono-Support-for-Editor-2018.3.0b1.pkg + sha1sums = ac2434c37018093d9e36d4308861492d790bb060 pkgname = unity-editor-beta-mac @@ -1,12 +1,9 @@ # Maintainer: Oscar Morante <spacepluk at gmail dot com> -_version=2018.2.0 -_build=f1 -_buildtag=20180709 -_randomstring=db9a69dc5569 +_version=2018.3.0 +_build=b1 +_randomstring=3f0ac31c6d6f _prefix=/opt/UnityBeta -_unitydownloads="http://beta.unity3d.com/download/${_randomstring}" -#_keepdownloads=yes pkgname=unity-editor-beta-mac pkgver=${_version}${_build}+${_buildtag} @@ -16,34 +13,16 @@ arch=('x86_64') url='https://unity3d.com/' license=('custom') depends=('unity-editor-beta') -makedepends=('gtk3' 'libsoup' 'libarchive') -source=("${_unitydownloads}/UnitySetup-${_version}${_build}") -sha1sums=('25f558636adc41bc8263dc4976fd9df86d1f9f6d') +makedepends=('cpio') +source=("https://beta.unity3d.com/download/${_randomstring}/MacEditorTargetInstaller/UnitySetup-Mac-Mono-Support-for-Editor-${_version}${_build}.pkg") +sha1sums=('ac2434c37018093d9e36d4308861492d790bb060') 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 Mac-Mono - - if [ -z "${_keepdownloads}" ]; then - rm "${startdir}/UnitySetup-Mac-Mono-Support-for-Editor-${_version}${_build}.pkg" - fi + _dest="${pkgdir}/${_prefix}/Editor/Data/PlaybackEngines/MacStandaloneSupport" + install -d "${_dest}" + cd "${_dest}" + cat "${srcdir}/TargetSupport.pkg.tmp/Payload" | gzip -dc | cpio -i } |