summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVresod2020-10-07 12:00:40 -0400
committerVresod2020-10-07 12:00:40 -0400
commitc75f8fae38dc2ed82986ff022c74945f0a49c66d (patch)
tree1257ed9cd3584014b91b5ddf47e79829c1280ab7
downloadaur-c75f8fae38dc2ed82986ff022c74945f0a49c66d.tar.gz
initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--.gitignore2
-rw-r--r--AUE.desktop10
-rw-r--r--PKGBUILD35
-rw-r--r--icon.pngbin0 -> 4537 bytes
5 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1f07b395df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = among-us-editor
+ pkgdesc = Character editor for Among Us
+ pkgver = 1.51.1
+ pkgrel = 1
+ url = https://github.com/Vresod/Among-Us-Editor/
+ arch = x86_64
+ license = MIT
+ depends = java-runtime>=8
+ depends = sh
+ depends = hicolor-icon-theme
+ optdepends = steam: where among us is usually bought from
+ noextract = Among-Us-Editor-1.51.1-linux.jar
+ source = https://github.com/Vresod/Among-Us-Editor/releases/download/1.51.1/Among-Us-Editor-1.51.1-linux.jar
+ source = AUE.desktop
+ source = icon.png
+ sha256sums = efdb4c0bead17da3332d4f98655c22d3e0626844f2782700d713ada7fe764d98
+ sha256sums = 1fc76f358a4996594740da38546946040c98e652e7f2a9644fe16bd2d25ddc43
+ sha256sums = 9bc31e9bb127d780af39aad0a98dd9c98d98b9a0d00f335daa3d123a9f108de1
+
+pkgname = among-us-editor
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..64689daa761
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*zst
+*jar
diff --git a/AUE.desktop b/AUE.desktop
new file mode 100644
index 00000000000..f4e884013b2
--- /dev/null
+++ b/AUE.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.1
+Type=Application
+Name=Among Us Editor
+Comment=Edits your Among Us player preferences.
+Icon=AUE
+Exec=among-us-editor
+StartupNotify=false
+Terminal=false
+Categories=Editor;Game
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..313650a72ce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Vresod <lukebinkofsky@gmail.com>
+
+# mad props to the amidst PKGBUILD; i based this off of that
+
+pkgname=among-us-editor
+pkgver=1.51.1
+pkgrel=1
+_jarfile="Among-Us-Editor-${pkgver}-linux.jar"
+pkgdesc='Character editor for Among Us'
+arch=('x86_64')
+license=('MIT')
+url='https://github.com/Vresod/Among-Us-Editor/'
+depends=('java-runtime>=8' 'sh' 'hicolor-icon-theme')
+optdepends=('steam: where among us is usually bought from')
+noextract=("$_jarfile")
+source=("https://github.com/Vresod/Among-Us-Editor/releases/download/$pkgver/$_jarfile" "AUE.desktop" "icon.png")
+sha256sums=("efdb4c0bead17da3332d4f98655c22d3e0626844f2782700d713ada7fe764d98" "1fc76f358a4996594740da38546946040c98e652e7f2a9644fe16bd2d25ddc43" "9bc31e9bb127d780af39aad0a98dd9c98d98b9a0d00f335daa3d123a9f108de1")
+
+build() {
+ cd "$srcdir"
+
+ #Create shell script to launch the application
+ echo "#!/bin/sh" > AUE.sh
+ echo "_JAVA_AWT_WM_NONREPARENTING=1 java -noverify -jar /usr/share/java/$pkgname/AUE.jar" >> AUE.sh
+}
+
+package() {
+ cd "$srcdir"
+
+ install -Dm755 'AUE.sh' "$pkgdir/usr/bin/among-us-editor"
+ install -Dm644 'AUE.desktop' "$pkgdir/usr/share/applications/AUE.desktop"
+ install -Dm644 "$_jarfile" "$pkgdir/usr/share/java/$pkgname/AUE.jar"
+
+ install -Dm644 "icon.png" "$pkgdir/usr/share/icons/hicolor/64x64/apps/AUE.png"
+}
diff --git a/icon.png b/icon.png
new file mode 100644
index 00000000000..30a1b6b3229
--- /dev/null
+++ b/icon.png
Binary files differ