diff options
author | Gordian Edenhofer | 2015-12-13 15:37:26 +0100 |
---|---|---|
committer | Gordian Edenhofer | 2015-12-13 15:37:26 +0100 |
commit | ea20df062ba3a93862a838c615a110d7fb992d77 (patch) | |
tree | 02dcf369a97c5539a9ff3ab2e0a3818075267f93 /PKGBUILD | |
parent | a614b2ead6c16c2d67a6df19c99c67dd067e3377 (diff) | |
download | aur-ea20df062ba3a93862a838c615a110d7fb992d77.tar.gz |
Indentation: Use tabs everywhere
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 27 insertions, 27 deletions
@@ -16,12 +16,12 @@ license=('custom') url="https://unity3d.com/" depends=('desktop-file-utils' 'xdg-utils' 'gcc-multilib' 'libgl' 'glu' 'nss' 'libpng12' 'libxtst' 'libpqxx' 'monodevelop') optdepends=('ffmpeg: for WebGL exporting' - 'nodejs: for WebGL exporting' - 'java-runtime: for WebGL exporting' - 'gzip: for WebGL exporting' - 'java-environment: for Android and Tizen exporting' - 'android-sdk: for Android Remote' - 'android-udev: for Android Remote') + 'nodejs: for WebGL exporting' + 'java-runtime: for WebGL exporting' + 'gzip: for WebGL exporting' + 'java-environment: for Android and Tizen exporting' + 'android-sdk: for Android Remote' + 'android-udev: for Android Remote') provides=('unity-editor') conflicts=('unity-editor') options=(!strip) @@ -30,25 +30,25 @@ source=("http://files.unity3d.com/levi/unity-editor-${pkgver}_amd64.deb") md5sums=('5ef887483b737b0d20ca69ff4d368103') package() { - bsdtar xf data.tar.gz - - # Moving stuff in place - mv usr "${pkgdir}" - 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 - - # Linking executables (symlinking does not work!) - 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 - - # 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 + bsdtar xf data.tar.gz + + # Moving stuff in place + mv usr "${pkgdir}" + 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 + + # Linking executables (symlinking does not work!) + 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 + + # 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 } |