diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 15 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = unity-editor-bin pkgdesc = The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences. - pkgver = 5.4.0b13+20160406 + pkgver = 5.4.0b15+20160418 pkgrel = 1 url = https://unity3d.com/ install = unity-editor-bin.install @@ -24,10 +24,10 @@ pkgbase = unity-editor-bin optdepends = java-environment: for Android and Tizen exporting optdepends = android-sdk: for Android Remote optdepends = android-udev: for Android Remote - provides = unity-editor=5.4.0b13+20160406 + provides = unity-editor=5.4.0b15+20160418 conflicts = unity-editor options = !strip - source = http://download.unity3d.com/download_unity/linux/unity-editor-5.4.0b13+20160406_amd64.deb - md5sums = 1acc8c7d74aaa0ae380ee02126674a24 + source = http://download.unity3d.com/download_unity/linux/unity-editor-5.4.0b15+20160418_amd64.deb + md5sums = 815ab60084ef0be7960ed1b53b85cb9a pkgname = unity-editor-bin @@ -7,9 +7,9 @@ PKGEXT='.pkg.tar' pkgname=unity-editor-bin _version=5.4.0 -_build=b13 -_buildtag=20160406 -pkgver=${_version}${_build}+${_buildtag} +_build=b15 +_buildtag=20160418 +pkgver="${_version}${_build}+${_buildtag}" pkgrel=1 pkgdesc="The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences." arch=('x86_64') @@ -28,7 +28,7 @@ conflicts=('unity-editor') options=(!strip) install="${pkgname}.install" source=("http://download.unity3d.com/download_unity/linux/unity-editor-${pkgver}_amd64.deb") -md5sums=('1acc8c7d74aaa0ae380ee02126674a24') +md5sums=('815ab60084ef0be7960ed1b53b85cb9a') prepare() { if [[ "$(df . -BG --output=avail | awk -F'[^0-9]*' 'FNR==2 {print $2;}')" -le "10" ]]; then @@ -46,18 +46,18 @@ package() { mv opt "${pkgdir}" # Setting permissions on chrome-sandbox - necessary to run the program - chown root:root "${pkgdir}"/opt/Unity/Editor/chrome-sandbox - chmod 4755 "${pkgdir}"/opt/Unity/Editor/chrome-sandbox + chown root:root "${pkgdir}/opt/Unity/Editor/chrome-sandbox" + chmod 4755 "${pkgdir}/opt/Unity/Editor/chrome-sandbox" # Linking executables (symlinking does not work!) - mkdir -p "${pkgdir}"/usr/bin + mkdir -p "${pkgdir}/usr/bin" #ln -s /opt/Unity/Editor/Unity "${pkgdir}"/usr/bin/unity-editor #ln -s /opt/Unity/MonoDevelop/bin/monodevelop "${pkgdir}"/usr/bin/unity-monodevelop echo -e "#!/bin/sh\nexec /opt/Unity/Editor/Unity \"$@\"" > "${pkgdir}"/usr/bin/unity-editor - echo -e "#!/bin/sh\n\n# This prevents the editor from crashing when opening projects on some systems\nunset GTK_IM_MODULE\n\nexec /opt/Unity/MonoDevelop/bin/monodevelop \"$@\"" > "${pkgdir}"/usr/bin/unity-monodevelop - chmod 755 "${pkgdir}"/usr/bin/unity-editor "${pkgdir}"/usr/bin/unity-monodevelop + echo -e "#!/bin/sh\n\n# This prevents the editor from crashing when opening projects on some systems\nunset GTK_IM_MODULE\n\nexec /opt/Unity/MonoDevelop/bin/monodevelop \"$@\"" > "${pkgdir}/usr/bin/unity-monodevelop" + chmod 755 "${pkgdir}/usr/bin/unity-editor" "${pkgdir}/usr/bin/unity-monodevelop" # Refering to the online license - mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname} - echo "Please refer to https://unity3d.com/legal/eula for detailed license information." > "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}" + echo "Please refer to https://unity3d.com/legal/eula for detailed license information." > "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |