diff options
author | Gordian Edenhofer | 2015-08-31 01:12:21 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2015-08-31 01:12:21 +0200 |
commit | bb5625b7228414984a577bc7ce003465f300cbe0 (patch) | |
tree | e5b3b5dcd848fe9594c733bc981df7be843c4beb | |
parent | 876ddb637a735236295efb4e75647ce9d59a9319 (diff) | |
download | aur-bb5625b7228414984a577bc7ce003465f300cbe0.tar.gz |
Use files instead of symlinks in /usr/bin + Update pkgrel
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = unity-editor-bin pkgdesc = The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences. pkgver = 5.1.0f3+2015082501 - pkgrel = 2 + pkgrel = 3 url = https://unity3d.com/ install = unity-editor-bin.install arch = x86_64 @@ -9,7 +9,7 @@ PKGEXT='.pkg.tar' pkgname=unity-editor-bin pkgver=5.1.0f3+2015082501 -pkgrel=2 +pkgrel=3 pkgdesc="The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences." arch=('x86_64') license=('custom') @@ -40,10 +40,13 @@ package() { chown root:root "${pkgdir}"/opt/Unity/Editor/chrome-sandbox chmod 4755 "${pkgdir}"/opt/Unity/Editor/chrome-sandbox - # Linking executables + # 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 + #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\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} |