base package
This commit is contained in:
commit
19760e821a
4 changed files with 75 additions and 0 deletions
66
APKBUILD
Normal file
66
APKBUILD
Normal file
|
@ -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
|
||||||
|
"
|
BIN
quick-strats-2024-03-17.zip
Normal file
BIN
quick-strats-2024-03-17.zip
Normal file
Binary file not shown.
7
quick-strats.desktop
Executable file
7
quick-strats.desktop
Executable file
|
@ -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
|
2
quick-strats.sh
Executable file
2
quick-strats.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/godot-template-release --main-pack /usr/share/games/quick-strats/quick-strats.zip "$@"
|
Loading…
Reference in a new issue