diff --git a/repo/an-anime-game-launcher-bin/PKGBUILD b/repo/an-anime-game-launcher-bin/PKGBUILD new file mode 100644 index 0000000..1f2c4c6 --- /dev/null +++ b/repo/an-anime-game-launcher-bin/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Maxim Korotkov <maximkorotkov4@gmail.com> +# Contributor: Marie Piontek <marie@kaifa.ch> + +pkgname=an-anime-game-launcher-bin +pkgver=3.9.0 +pkgrel=1 +pkgdesc="A Launcher for a specific anime game with auto-patching, discord rpc and time tracking" +url="https://github.com/an-anime-team/an-anime-game-launcher" +conflicts=("an-anime-game-launcher-git") +provides=("an-anime-game-launcher") +arch=("x86_64") +license=("GPL3") + +depends=( + "libadwaita" + "tar" + "xdg-desktop-portal" + "unzip" + "xdelta3" + "cabextract" + "git" + "iputils" + "gtk4" + "glibc" +) + +optdepends=( + "mangohud: FPS Hud/GUI" + "gamemode: Game Optimizations" + "gamescope: a tool from Valve that allows for games to run in an isolated Xwayland instance" +) + +source=( + "an-anime-game-launcher_${pkgver}::https://github.com/an-anime-team/an-anime-game-launcher/releases/download/${pkgver}/anime-game-launcher" + "icon.png" + "an-anime-game-launcher.desktop" +) + +md5sums=( + 'e06c903fed3602984b58a1f254bfdb22' + 'c1a5499b80a55d3d238ef5c5d2c93c99' + '12d89b3be2072437e7b252af97274142' +) + +prepare() { + chmod +x "${srcdir}/an-anime-game-launcher_${pkgver}" +} + +package() { + install -dm755 "${pkgdir}/usr/lib/${pkgname}" + install -dm755 "${pkgdir}/usr/bin/" + cp an-anime-game-launcher_${pkgver} "${pkgdir}/usr/lib/${pkgname}/" + + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/pixmaps/an-anime-game-launcher.png" + ln -s "/usr/lib/${pkgname}/an-anime-game-launcher_${pkgver}" "${pkgdir}/usr/bin/an-anime-game-launcher" + install -Dm644 "${srcdir}/an-anime-game-launcher.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/moe.launcher.an-anime-game-launcher.png" +} + diff --git a/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.desktop b/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.desktop new file mode 100644 index 0000000..5fe3e61 --- /dev/null +++ b/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=An Anime Game Launcher +Comment=An Launcher for a specific anime game with auto-patching, discord rpc and time tracking +Exec=an-anime-game-launcher-bin +Terminal=false +Type=Application +Icon=an-anime-game-launcher-bin +Categories=Game diff --git a/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.sh b/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.sh new file mode 100644 index 0000000..0de3245 --- /dev/null +++ b/repo/an-anime-game-launcher-bin/an-anime-game-launcher-bin.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /usr/lib/an-anime-game-launcher-bin +exec /usr/lib/an-anime-game-launcher-bin/an-anime-game-launcher "$@" diff --git a/repo/an-anime-game-launcher-bin/an-anime-game-launcher.desktop b/repo/an-anime-game-launcher-bin/an-anime-game-launcher.desktop new file mode 100644 index 0000000..2cf3afb --- /dev/null +++ b/repo/an-anime-game-launcher-bin/an-anime-game-launcher.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=An Anime Game Launcher +Comment=An Launcher for a specific anime game with auto-patching, discord rpc and time tracking +Exec=an-anime-game-launcher +Terminal=false +Type=Application +Icon=an-anime-game-launcher +Categories=Game diff --git a/repo/an-anime-game-launcher-bin/icon.png b/repo/an-anime-game-launcher-bin/icon.png new file mode 100644 index 0000000..3beaa2b Binary files /dev/null and b/repo/an-anime-game-launcher-bin/icon.png differ diff --git a/repo/an-anime-game-launcher-bin/moe.launcher.an-anime-game-launcher.desktop b/repo/an-anime-game-launcher-bin/moe.launcher.an-anime-game-launcher.desktop new file mode 100644 index 0000000..2cf3afb --- /dev/null +++ b/repo/an-anime-game-launcher-bin/moe.launcher.an-anime-game-launcher.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=An Anime Game Launcher +Comment=An Launcher for a specific anime game with auto-patching, discord rpc and time tracking +Exec=an-anime-game-launcher +Terminal=false +Type=Application +Icon=an-anime-game-launcher +Categories=Game