diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | archlinux.install | 13 |
3 files changed, 19 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = pokemon-revolution-online-bin pkgdesc = A free-to-play, fan-made, MMO game that is predicated around the official Pokémon games. - pkgver = 20201005+0.3.2 + pkgver = 20201201+0.3.2 pkgrel = 1 url = https://pokemonrevolution.net install = archlinux.install @@ -14,7 +14,7 @@ pkgbase = pokemon-revolution-online-bin source = git+https://gitlab.com/fabis_cafe/pro_assets_lin_desktop.git#tag=0.3.2 source = PROClient_linux.zip::https://ddl.pokemonrevolution.net/PROClient_linux.zip sha256sums = SKIP - sha256sums = c380f52b44cf063f64cec4441acde5ec547f8f6b839d390eab39c155ee735547 + sha256sums = 35143e4cc62cfde4d6f529afbf522ca8092e5b40d6bf77a484cb38865a99ff7b pkgname = pokemon-revolution-online-bin @@ -1,8 +1,8 @@ -# Maintainer: Fabian <plusfabi[AT+thegoogleadress]> +# Maintainer: Fabian Bornschein <plusfabi-cat-gmail-dog-com> pkgname=pokemon-revolution-online-bin __LIN_DESKTOP_ASSET_VER=0.3.2 -pkgver=20201005+${__LIN_DESKTOP_ASSET_VER} +pkgver=20201201+${__LIN_DESKTOP_ASSET_VER} pkgrel=1 pkgdesc="A free-to-play, fan-made, MMO game that is predicated around the official Pokémon games." arch=('x86_64') @@ -12,12 +12,12 @@ depends=('vulkan-driver' 'opengl-driver') makedepends=('git') optdepends=('gtk2: required for the Unity ScreenSelector plugin') conflicts=('pokemon-revolution-online') -install="$(/usr/bin/tail -n 1 /usr/lib/os-release | /usr/bin/cut -d= -f2).install" +install="archlinux.install" source=("git+https://gitlab.com/fabis_cafe/pro_assets_lin_desktop.git#tag=${__LIN_DESKTOP_ASSET_VER}" "PROClient_linux.zip::https://ddl.pokemonrevolution.net/PROClient_linux.zip" ) sha256sums=('SKIP' - 'c380f52b44cf063f64cec4441acde5ec547f8f6b839d390eab39c155ee735547') + '35143e4cc62cfde4d6f529afbf522ca8092e5b40d6bf77a484cb38865a99ff7b') package() { #PROCLIENT PART diff --git a/archlinux.install b/archlinux.install index 5ccd0858d081..c623a6253abc 100644 --- a/archlinux.install +++ b/archlinux.install @@ -7,8 +7,21 @@ post_install() { printf "\t# https://www.pokemon-revolution-online.net/Register.php #\n" printf "\t# #\n" printf "\t##########################################################\n" + if [[ $(/usr/bin/tail -n 1 /usr/lib/os-release | /usr/bin/cut -d= -f2) != "archlinux" ]]; + then + printf "==>\tUNSUPPORTED DISTRO DETECTED. #https://wiki.archlinux.org/index.php/Archn't\n"; + printf "==>\tTHIS PACKAGE ONLY SUPPORTS Arch Linux.\n"; + printf "==>\tPLEASE DO NOT ASK FOR SUPPORT ON THE AUR, YOU ARE ON YOUR OWN.\n\n"; + fi } post_upgrade() { + if [[ $(/usr/bin/tail -n 1 /usr/lib/os-release | /usr/bin/cut -d= -f2) != "archlinux" ]]; + then + printf "==>\tUNSUPPORTED DISTRO DETECTED.\n"; + printf "==>\tTHIS PACKAGE ONLY SUPPORTS Arch Linux.\n"; + printf "==>\tPLEASE DO NOT ASK FOR SUPPORT ON THE AUR, YOU ARE ON YOUR OWN.\n\n"; + fi + printf "\nThanks for still using my pkg :)\n\n" } |