summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Morante2018-09-12 17:45:12 +0300
committerOscar Morante2018-09-12 17:45:12 +0300
commitcbb70f13ee290a307960a096d814aa185fd63401 (patch)
tree395575459cf9c2fd69ccfc074e42c43017d2cb79
parenta8991894819b5418ccfabb65f8b893cc20cd8bc7 (diff)
downloadaur-cbb70f13ee290a307960a096d814aa185fd63401.tar.gz
update to new upstream version (2018.3.0b1)
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD43
2 files changed, 15 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1513aaeb0ba..b19c29742a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
pkgbase = unity-editor-beta-windows
pkgdesc = Allows building your Unity projects for the Windows 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-Windows-Mono-Support-for-Editor-2018.3.0b1.pkg
+ sha1sums = 304fedca8da8f525f31402eaeefdc6d6c6a42e89
pkgname = unity-editor-beta-windows
diff --git a/PKGBUILD b/PKGBUILD
index 242ac106493..4abb4d83ff9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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-windows
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-Windows-Mono-Support-for-Editor-${_version}${_build}.pkg")
+sha1sums=('304fedca8da8f525f31402eaeefdc6d6c6a42e89')
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_unity-editor-beta-windows() {
- mkdir -p "${pkgdir}${_prefix}"
- extract-component Windows-Mono
-
- if [ -z "${_keepdownloads}" ]; then
- rm "${startdir}/UnitySetup-Windows-Mono-Support-for-Editor-${_version}${_build}.pkg"
- fi
+package() {
+ _dest="${pkgdir}/${_prefix}/Editor/Data/PlaybackEngines/WindowsStandaloneSupport"
+ install -d "${_dest}"
+ cd "${_dest}"
+ cat "${srcdir}/TargetSupport.pkg.tmp/Payload" | gzip -dc | cpio -i
}