diff options
author | Oscar Morante | 2018-09-12 17:44:35 +0300 |
---|---|---|
committer | Oscar Morante | 2018-09-12 17:44:35 +0300 |
commit | 33a77489383705dbf372df64b8f7bf5a4e092213 (patch) | |
tree | 2175774b99782e3a08e4624b2531a2eaf6fca0a7 | |
parent | b961feb23c97d2e99311667813a0c61fb8d82ead (diff) | |
download | aur-33a77489383705dbf372df64b8f7bf5a4e092213.tar.gz |
update to new upstream version (2018.3.0b1)
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 65 |
2 files changed, 20 insertions, 59 deletions
@@ -1,13 +1,10 @@ pkgbase = unity-editor-beta pkgdesc = The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences. - pkgver = 2018.2.0f1+20180709 - pkgrel = 2 + pkgver = 2018.3.0b1+ + pkgrel = 1 url = https://unity3d.com/ arch = x86_64 license = custom - makedepends = gtk2 - makedepends = libsoup - makedepends = libarchive depends = desktop-file-utils depends = xdg-utils depends = gcc-libs @@ -23,20 +20,19 @@ pkgbase = unity-editor-beta depends = intel-tbb depends = gtk3 optdepends = unity-editor-beta-doc - optdepends = unity-editor-beta-standardassets - optdepends = unity-editor-beta-example optdepends = unity-editor-beta-android optdepends = unity-editor-beta-ios optdepends = unity-editor-beta-mac optdepends = unity-editor-beta-webgl optdepends = unity-editor-beta-windows optdepends = unity-editor-beta-facebook + optdepends = visual-studio-code-bin options = !strip - source = http://beta.unity3d.com/download/db9a69dc5569/UnitySetup-2018.2.0f1 + source = https://beta.unity3d.com/download/3f0ac31c6d6f/LinuxEditorInstaller/Unity.tar.xz source = unity-editor-beta source = unity-editor-beta.desktop source = unity-editor-beta-icon.png - sha1sums = 25f558636adc41bc8263dc4976fd9df86d1f9f6d + sha1sums = 67984c80e142d244c35eefad9f737991b7541049 sha1sums = d61175685d0836a79b2d4582c09ea23ed5ee18e9 sha1sums = c348f141232ec06c6558fd42b5cbf86a75e2d02d sha1sums = fddf4861974f88f0565de7f54f7418204e729894 @@ -1,16 +1,13 @@ # 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 pkgver=${_version}${_build}+${_buildtag} -pkgrel=2 +pkgrel=1 pkgdesc="The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences." arch=('x86_64') url='https://unity3d.com/' @@ -30,61 +27,29 @@ depends=('desktop-file-utils' 'intel-tbb' 'gtk3') optdepends=('unity-editor-beta-doc' - 'unity-editor-beta-standardassets' - 'unity-editor-beta-example' 'unity-editor-beta-android' 'unity-editor-beta-ios' 'unity-editor-beta-mac' 'unity-editor-beta-webgl' 'unity-editor-beta-windows' - 'unity-editor-beta-facebook') -makedepends=('gtk2' 'libsoup' 'libarchive') -source=("${_unitydownloads}/UnitySetup-${_version}${_build}" + 'unity-editor-beta-facebook' + 'visual-studio-code-bin') +source=("https://beta.unity3d.com/download/${_randomstring}/LinuxEditorInstaller/Unity.tar.xz" 'unity-editor-beta' 'unity-editor-beta.desktop' - 'unity-editor-beta-icon.png') -sha1sums=('25f558636adc41bc8263dc4976fd9df86d1f9f6d' + 'unity-editor-beta-icon.png' + 'eula.txt') +sha1sums=('67984c80e142d244c35eefad9f737991b7541049' 'd61175685d0836a79b2d4582c09ea23ed5ee18e9' 'c348f141232ec06c6558fd42b5cbf86a75e2d02d' - 'fddf4861974f88f0565de7f54f7418204e729894') + 'fddf4861974f88f0565de7f54f7418204e729894' + '1c3d4bc66fd16a10e68f78320e16cfd86afac7ac') 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() { - echo "************************************************************" - echo "*** ***" - echo "*** RIGHT NOW THE STABLE RELEASE IS NEWER! ***" - echo "*** ***" - echo "*** Edit this if you *really* want an old beta =] ***" - echo "*** otherwise go and install unity-editor ***" - echo "************************************************************" - return 1 - - chmod +x "${srcdir}/UnitySetup-${_version}${_build}" -} - package() { - msg2 "Extracting EULA..." - echo n | unity-setup | head -n -2 > "${srcdir}/EULA" - - mkdir -p "${pkgdir}${_prefix}" - extract-component Unity - - if [ -z "${_keepdownloads}" ]; then - rm "${startdir}/Unity.tar.xz" - fi + install -d "${pkgdir}/${_prefix}" + mv "${srcdir}/Editor" "${pkgdir}/${_prefix}" # HACK: fixes WebGL builds by adding a symlink (python -> python2) to the PATH ln -s /usr/bin/python2 "${pkgdir}${_prefix}/Editor/python" @@ -98,6 +63,6 @@ package() { install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/unity-editor-beta.desktop" install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/unity-editor-beta-icon.png" install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/unity-editor-beta" - install -Dm644 "${srcdir}/EULA" "${pkgdir}/usr/share/licenses/${pkgname}/EULA" + install -Dm644 "${srcdir}/eula.txt" "${pkgdir}/usr/share/licenses/${pkgname}/eula.txt" } |