-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7dd540
commit 3332db1
Showing
6 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#!/bin/bash | ||
|
||
webVer=$(wget -qO- https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html | grep -A1 "Download debian package for Raspbian:" | tail -n 1 | sed 's/<p>//g ; s+</p>++g' | sed 's+"./../../../downloads/xsnow/.*armhf.deb">++g ; s+</a>++g' | grep -oP '^[^\_]*\_\K[^\_]+') | ||
armhf_url="https://www.ratrabbit.nl/downloads/xsnow/xsnow_${webVer}_armhf.deb" | ||
arm64_url="https://www.ratrabbit.nl/downloads/xsnow/xsnow_${webVer}_arm64.deb" | ||
webVer=$(wget -qO- https://www.ratrabbit.nl/ratrabbit/xsnow/downloads/index.html | grep -A1 "Download source:" | tail -n 1 | sed 's/<p>//g ; s+</p>++g' | sed 's+"./../../../downloads/xsnow/xsnow-.*tar.gz">++g ; s+</a>++g' | grep -oP '^[^-]*\-\K[^*]+' | sed -n 's/.tar.gz//p') | ||
all_url="https://www.ratrabbit.nl/downloads/xsnow/xsnow-${webVer}.tar.gz" | ||
|
||
source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
version=3.7.0~pre02 | ||
|
||
install_packages build-essential libx11-dev libxpm-dev libxt-dev libxext-dev pkg-config libxml2-dev libgtk-3-dev libxinerama-dev libxtst-dev libgsl-dev || exit 1 | ||
|
||
cd /tmp || error "Could not move to /tmp folder" | ||
rm -rf /tmp/xsnow* | ||
wget -O xsnow.tar.gz https://www.ratrabbit.nl/downloads/xsnow/xsnow-${version}.tar.gz | ||
tar -xvf xsnow.tar.gz | ||
cd xsnow-${version} || error "Could not move to xsnow directory folder" | ||
./configure --prefix=/usr && make -j$(nproc) && sudo make install || error "Make install failed" | ||
rm -rf /tmp/xsnow* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
sudo rm -rf /usr/games/xsnow /usr/share/applications/xsnow.desktop /usr/share/doc/xsnow /usr/share/locale/*/LC_MESSAGES/xsnow.mo /usr/share/man/man6/xsnow.6.gz /usr/share/metainfo/xsnow.appdata.xml /usr/share/pixmaps/xsnow.svg | ||
|
||
purge_packages || exit 1 |
This file contains 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