commit 19760e821ac9a6cc60eb8eca5cc53237dd5b9f3a Author: magmaus3 Date: Mon Mar 18 16:48:44 2024 +0100 base package diff --git a/APKBUILD b/APKBUILD new file mode 100644 index 0000000..9efb199 --- /dev/null +++ b/APKBUILD @@ -0,0 +1,66 @@ +# Contributor: +# Maintainer: +pkgname=quick-strats-mobile +pkgver=0 +pkgrel=0 +pkgdesc="godot game" +url="https://magmaus3.eu.org" +arch="aarch64 x86_64" +license="GPL" +depends="godot-templates" +makedepends="" +checkdepends="" +install="" +# no checks, so i wont exec em +options="!check" +source=" + quick-strats-2024-03-17.zip + quick-strats.desktop + quick-strats.sh +" +builddir="$srcdir/" + +unpack() { + # don't unpack anything + return 0 +} + +prepare() { + default_prepare + # this function can be omitted if no extra steps are needed +} + +build() { + # Replace with proper build command(s) + # todo + mkdir -p "$pkgdir" + return 0 +} + +check() { + # Replace with proper check command(s) + # todo (i think) + true +} + +package() { + # Replace with proper package command(s) + mkdir -p "$pkgdir" + mkdir -p "$pkgdir"/usr/share/games/quick-strats + mkdir -p "$pkgdir"/usr/share/applications/ + mkdir -p "$pkgdir"/usr/bin/ + cd "$srcdir" + ls + chmod +x quick-strats.sh + chmod +x quick-strats.desktop + + install -Dm644 quick-strats-2024-03-17.zip "$pkgdir"/usr/share/games/quick-strats/quick-strats.zip + install -Dm655 quick-strats.sh "$pkgdir"/usr/share/games/quick-strats/quick-strats.sh + install -Dm655 quick-strats.desktop "$pkgdir"/usr/share/applications/quick-strats.desktop +} + +sha512sums=" +f2d469934a527fa83ebd77c74c7c76246e6325a802ac0e03226707f2546de56cdd1fae1087ab85625d9c18224d158448956d1a37c09c7834ead9200c7c0a2bca quick-strats-2024-03-17.zip +c7396f4121bb324ca927595095f044232332bad5e7839764eb4e7c96fa58c88be178d51f0730215de556d2b85ca65caaa90190cd698401c0c590849d0d02351d quick-strats.desktop +b4a13a2465bae55606cf9dd8e843256706a3010de24407ac658ab99cc530af3c089026efdd0a9a1b2d53d9b90c2b6165ef67f9ec92370ebc9b48171917ea4327 quick-strats.sh +" diff --git a/quick-strats-2024-03-17.zip b/quick-strats-2024-03-17.zip new file mode 100644 index 0000000..9fa5d2f Binary files /dev/null and b/quick-strats-2024-03-17.zip differ diff --git a/quick-strats.desktop b/quick-strats.desktop new file mode 100755 index 0000000..53a72b8 --- /dev/null +++ b/quick-strats.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +X-Desktop-File-Install-Version=0.27 +Type=Application +Name=Quick Strats (mobile) +Comment=A godot game +Exec=/usr/share/games/quick-strats/quick-strats.sh +Terminal=false diff --git a/quick-strats.sh b/quick-strats.sh new file mode 100755 index 0000000..4407c89 --- /dev/null +++ b/quick-strats.sh @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/godot-template-release --main-pack /usr/share/games/quick-strats/quick-strats.zip "$@"