This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -s https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages | egrep "Package|Version" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/PKGBUILD b/PKGBUILD | |
| index f59795e..1e930d1 100644 | |
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -11,8 +11,8 @@ license=('GPL3') | |
| depends=('parted') | |
| options=('!buildflags' | |
| '!makeflags') | |
| -conflicts= | |
| -provides= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Script by github.com/z3ntu | |
| for dir in */; do | |
| echo "Updating $dir." | |
| cd $dir | |
| output="$(git pull)" | |
| if [ "$output" != 'Already up-to-date.' ]; then | |
| if [ -x "build.sh" ]; then | |
| echo "Running buid.sh." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build/tools/make_standalone_toolchain.py --arch arm --api 21 --stl gnustl -v --install-dir /home/luca/Android/standalone-toolchain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mono profile = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0' | |
| Initialize mono | |
| Mono path[0] = '/opt/Unity/Editor/Data/Managed' | |
| Mono path[1] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0' | |
| Mono path[2] = '/opt/Unity/Editor/Data/UnityScript' | |
| Mono path[3] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0' | |
| Mono config path = '/opt/Unity/Editor/Data/Mono/etc' | |
| Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56260 | |
| Desktop is 1920 x 1080 @ 60 Hz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo echo "***Starting script 'unity-arch.in'...***" | |
| echo "============================== | |
| Adding Unity repos to pacman.conf..." | |
| echo '[Unity-for-Arch]' | sudo tee -a /etc/pacman.conf | |
| echo 'SigLevel = Optional TrustAll' | sudo tee -a /etc/pacman.conf | |
| echo 'Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch' | sudo tee -a /etc/pacman.conf | |
| echo ' ' | sudo tee -a /etc/pacman.conf | |
| echo '[Unity-for-Arch-Extra]' | sudo tee -a /etc/pacman.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # THIS SCRIPT IS FOR A STANDALONE TOOLCHAIN!! | |
| # For more information please consult https://z3ntu.github.io/2015/12/12/Cross-compiling-native-linux-applications-for-android.html | |
| # Don't forget to adjust this to your standalone toolchain path | |
| export TOOLCHAIN_PATH=$HOME/Android/standalone-toolchain/ | |
| # This is just an empty directory where I want the built objects to be installed | |
| export PREFIX=$HOME/Android/out/prefix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Heith Seewald 2012 | |
| # Garoe Dorta 2015 | |
| # Luca Weiss 2015 | |
| # Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac | |
| # Feel free to extend/modify to meet your needs. | |
| #### Lets run a few checks to make sure things work as expected. | |
| #Make sure we’re running with root permissions. | |
| if [ `whoami` != root ]; then |
- Set your PATH so the Android NDK tools (arm-linux-androideabi-cpp, arm-linux-androideabi-gcc, and friends) are on PATH:
$ echo $PATH
/opt/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin:
/opt/android-sdk-macosx/tools/:/opt/android-sdk-macosx/platform-tools/:
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:
/opt/X11/bin:/usr/local/MacGPG2/bin
- Ensure ANDROID_NDK_ROOT is set (this is an Android requirement, see