summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHurricanePootis2021-06-23 18:02:33 -0500
committerHurricanePootis2021-06-23 18:02:33 -0500
commit0c6b5953e6f373426272664ff7cb64de53b6a535 (patch)
tree50979b072cbd105a4a64b200723218d6444853ea
downloadaur-0c6b5953e6f373426272664ff7cb64de53b6a535.tar.gz
Initial Commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD37
-rwxr-xr-xterri-fried22
-rwxr-xr-xterri-fried.desktop8
4 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cccf06b151e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = terri-fried-git
+ pkgdesc = A multi-platform C++ game made for Ludum Dare 46
+ pkgver = r34.463aa1e
+ pkgrel = 1
+ url = https://github.com/polymarsdev/terri-fried
+ arch = any
+ license = custom
+ makedepends = git
+ makedepends = raylib
+ depends = raylib
+ depends = pulseaudio
+ source = terri-fried-git::git+https://github.com/polymarsdev/terri-fried
+ source = terri-fried
+ source = terri-fried.desktop
+ sha256sums = SKIP
+ sha256sums = 18f7163da30769b589b2d8b34183f9baf8f19b2ce330d2cef35076e4c3960e44
+ sha256sums = 2dff3eb7f21bd5dd7a16b9fc1ed53a4de82df389cd98c0ad28a31af4b7571fec
+
+pkgname = terri-fried-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c40edec557f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
+pkgname=terri-fried-git
+pkgver=r34.463aa1e
+pkgrel=1
+pkgdesc="A multi-platform C++ game made for Ludum Dare 46"
+arch=('any')
+url="https://github.com/polymarsdev/terri-fried"
+license=('custom')
+depends=('raylib' 'pulseaudio')
+makedepends=('git' 'raylib')
+source=('terri-fried-git::git+https://github.com/polymarsdev/terri-fried' 'terri-fried' 'terri-fried.desktop')
+sha256sums=('SKIP'
+ '18f7163da30769b589b2d8b34183f9baf8f19b2ce330d2cef35076e4c3960e44'
+ '2dff3eb7f21bd5dd7a16b9fc1ed53a4de82df389cd98c0ad28a31af4b7571fec')
+pkgver() {
+ cd "$srcdir/terri-fried-git"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/terri-fried-git/windows/raylib"
+ g++ -O3 -march=native -flto -o terri-fried main.cpp player.cpp platform.cpp -lraylib
+}
+
+package() {
+ cd "$pkgdir"
+ mkdir -p "usr/share/terri-fried/"
+ mkdir -p "usr/bin/"
+ mkdir -p "usr/share/icons/hicolor/32x32/apps"
+ mkdir -p "usr/share/applications"
+ cp "$srcdir/terri-fried-git/windows/raylib/terri-fried" "$pkgdir/usr/share/terri-fried/."
+ cp -r "$srcdir/terri-fried-git/windows/raylib/resources" "$pkgdir/usr/share/terri-fried/."
+ cp "$srcdir/terri-fried" "$pkgdir/usr/bin/."
+ cp "$srcdir/terri-fried-git/windows/raylib/resources/egg.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/terri-fried.png"
+ cp "$srcdir/terri-fried.desktop" "$pkgdir/usr/share/applications/."
+
+}
diff --git a/terri-fried b/terri-fried
new file mode 100755
index 00000000000..ab69daf7414
--- /dev/null
+++ b/terri-fried
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+# Created by HurricanePootis
+
+cd "$HOME/.config" || exit
+
+if ls | grep terri-fried 1> /dev/null
+then
+ echo "bruh" > /dev/null
+else
+ mkdir terri-fried
+fi
+
+
+cd "$HOME/.config/terri-fried" || exit
+cp -r "/usr/share/terri-fried/resources" "$HOME/.config/terri-fried/."
+cp "/usr/share/terri-fried/terri-fried" "$HOME/.config/terri-fried/."
+
+"./terri-fried"
+
+wait
+rm -rf "$HOME/.config/terri-fried/terri-fried" "$HOME/.config/terri-fried/resources"
+exit
diff --git a/terri-fried.desktop b/terri-fried.desktop
new file mode 100755
index 00000000000..7f0f8910c91
--- /dev/null
+++ b/terri-fried.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Terri-Fried
+Comment=A multi-platform C++ game made for Ludum Dare 46
+Exec=/usr/bin/terri-fried
+Icon=terri-fried
+Terminal=false
+Type=Application
+Categories=Game;