parent
e91333572e
commit
90f81f91cf
@ -0,0 +1,46 @@
|
||||
#Work directory
|
||||
mkdir trash
|
||||
cd trash
|
||||
|
||||
######sudo mkdir /usr/lib/x86_64-linux-gnu
|
||||
|
||||
wget https://github.com/love2d/love/releases/download/0.9.1/liblove_0.9.1_amd64.deb
|
||||
|
||||
#Unpack and install libraries
|
||||
ar vx liblove_0.9.1_amd64.deb
|
||||
tar xzf data.tar.gz
|
||||
sudo mv usr/lib/* /usr/lib/
|
||||
#Clean
|
||||
rm -r liblove_0.9.1_amd64.deb debian-binary control.tar.gz data.tar.gz usr
|
||||
|
||||
wget http://ftp.us.debian.org/debian/pool/main/libp/libphysfs/libphysfs1_3.0.2-5_amd64.deb
|
||||
|
||||
ar vx libphysfs1_3.0.2-5_amd64.deb
|
||||
tar xf data.tar.xz
|
||||
sudo mv usr/lib/x86_64-linux-gnu/* /usr/lib/x86_64-linux-gnu/
|
||||
#Clean
|
||||
rm -r libphysfs1_3.0.2-5_amd64.deb debian-binary control.tar.xz data.tar.xz usr
|
||||
|
||||
wget https://github.com/love2d/love/releases/download/0.9.1/love_0.9.1_amd64.deb
|
||||
|
||||
ar vx love_0.9.1_amd64.deb
|
||||
tar xzf data.tar.gz
|
||||
mv usr/bin/love ../
|
||||
|
||||
|
||||
#Remove work dir
|
||||
cd ../
|
||||
rm -r trash
|
||||
|
||||
#One more library
|
||||
sudo xbps-install devil
|
||||
|
||||
wget https://www.ohmygiraffe.com/static/releases/oh-my-giraffe.love
|
||||
|
||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/" > start.sh
|
||||
echo "export LD_LIBRARY_PATH" >> start.sh
|
||||
echo "./love oh-my-giraffe.love" >> start.sh
|
||||
chmod +x start.sh
|
||||
|
||||
echo "Succeful"
|
||||
|
Loading…
Reference in new issue