This commit is contained in:
C22 2022-03-24 17:03:51 +13:00
parent 2b44b13597
commit 5e17d14192
5 changed files with 76 additions and 1 deletions

16
.SRCINFO Normal file
View File

@ -0,0 +1,16 @@
pkgbase = snoot-game-bin
pkgdesc = Renpy visual novel parody of Goodbye Volcano High
pkgver = Update7_Fangsgiving
pkgrel = 1
url = https://snootgame.xyz
arch = x86_64
license = AGPL,
license = custom:CC-BY-SA 4.0
options = !strip
options = staticlibs
source = snoot_game.desktop
source = https://secureupdates.snootgame.xyz/SnootGame-Update7_Fangsgiving-linux.tar.bz2
b2sums = 4c510e1f5cf8e16243cd8a860b525a446a5f852100c5a9db7b1e04707cf848ace1fd205abe94a2c7a2475d7147c38e93c1b5d83536e6243e6a51200b169e12fe
b2sums = 13d1603d2b8d2936b76b1289dddc507617bb574bab938ae6b00ca1ce0d9ba3fd32f87fc649eedbb4fe1c3c73e81632faa16bb02aae5175ae3c3a32843236aa0f
pkgname = snoot-game-bin

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.kate-swp
*.bz2

41
PKGBUILD Normal file
View File

@ -0,0 +1,41 @@
# Maintainer: C22 <c22 at equestrianinnovations dot eq>
_game_name="SnootGame"
_pkg_name="snoot-game"
pkgname="${_pkg_name}-bin"
pkgver=Update7_Fangsgiving
pkgrel=1
pkgdesc="Renpy visual novel parody of Goodbye Volcano High"
arch=('x86_64')
options=("!strip" "staticlibs")
url="https://snootgame.xyz"
license=("AGPL", "custom:CC-BY-SA 4.0")
source=("snoot_game.desktop" "https://secureupdates.snootgame.xyz/${_game_name}-${pkgver}-linux.tar.bz2")
b2sums=('775b24409efa19caf2c91904aa5ddaf8dda9232c384fdbd9767caa5e6458e7b5a3e8e890067d22deb081d363ecda3cbfe3fee7e090d6b1ba642b48d9a3681dda'
'13d1603d2b8d2936b76b1289dddc507617bb574bab938ae6b00ca1ce0d9ba3fd32f87fc649eedbb4fe1c3c73e81632faa16bb02aae5175ae3c3a32843236aa0f')
package() {
_install_path="/opt/${_pkg_name}"
mkdir -p "${pkgdir}/${_install_path}"
cp -ar "${srcdir}/${_game_name}-${pkgver}-linux"/* "${pkgdir}/${_install_path}"
_licenses_dir="${pkgdir}/usr/share/licenses/${_pkg_name}"
mkdir -p "${_licenses_dir}"
ln -s "${_install_path}/LICENSE" "${_licenses_dir}"
ln -s "${_install_path}/CC-BY-SA-4.0.txt" "${_licenses_dir}"
ln -s "${_install_path}/GNU Affero General Public License Version Three.txt" "${_licenses_dir}"
ln -s "${_install_path}/GPL-Exception" "${_licenses_dir}"
mkdir -p "${pkgdir}/usr/share/pixmaps"
ln -s "${_install_path}/game/gui/window_icon.png" "${pkgdir}/usr/share/pixmaps/${_pkg_name}.png"
mkdir -p "${pkgdir}/usr/bin/"
echo "#/bin/sh
cd ${_install_path}
./SnootGame.sh" > "${pkgdir}/usr/bin/${_pkg_name}"
install -Dm755 "${srcdir}/snoot_game.desktop" "${pkgdir}/usr/share/applications/snoot_game.desktop"
}

View File

@ -1,3 +1,3 @@
# AUR
# Snoot-Game-AUR
Source files for the Arch User Repository

14
snoot_game.desktop Normal file
View File

@ -0,0 +1,14 @@
[Desktop Entry]
Type=Application
Version=1.5
Name=Snoot Game
Name[en_GB]=Snoot Game
Name[en_US]=Snoot Game
GenericName=Visual Novel
Comment=The Pre-historic Romance a million years in MS Paint to tell
Path=/opt/SnootGame/
Exec=SnootGame.sh
Icon=snoot-game
Terminal=false
Categories=Game;RolePlaying;
Keywords=Renpy;VisualNovel;Snoot;