summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Bornschein2021-12-01 21:54:10 +0100
committerFabian Bornschein2021-12-01 21:54:10 +0100
commit4187c94deed8c34b38ab5d36bbbaf4d2bbf7cce3 (patch)
tree5f698257a12969da45d969d5cdc5c46d87bae31c
parent122a604b17202fd0cb5778f290793582f9e11554 (diff)
downloadaur-4187c94deed8c34b38ab5d36bbbaf4d2bbf7cce3.tar.gz
new upstream release + small form corrections
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD34
2 files changed, 16 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a782948face..3519adcbbdf8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pokemon-revolution-online-bin
pkgdesc = A free-to-play, fan-made, MMO game that is predicated around the official Pokémon games.
- pkgver = 20211002+0.4.1
- pkgrel = 2
+ pkgver = 20211201+0.4.1
+ pkgrel = 1
url = https://pokemonrevolution.net
install = install
arch = x86_64
@@ -12,8 +12,8 @@ pkgbase = pokemon-revolution-online-bin
optdepends = gtk2: required for the Unity ScreenSelector plugin
conflicts = pokemon-revolution-online
source = git+https://gitlab.com/fabiscafe/pro_assets_lin_desktop.git#tag=0.4.1
- source = PROClient_linux-20211002.zip::https://ddl.pokemonrevolution.net/PROClient_linux.zip
+ source = PROClient_linux-20211201.zip::https://ddl.pokemonrevolution.net/PROClient_linux.zip
sha512sums = SKIP
- sha512sums = cb1e1570a81a5c036f469965ec433cfd971de1f485d32d2d68ef7fcfee700b50b689631ed35c237623b938d24f4559a745ca4b7f3ce79f74f3ef30344f76bcca
+ sha512sums = 5252fc2805505f2e3c2fa1735f8b66cc4c95831c187ace5226f7c3b3bf538c3f42b5698be2d09843e17359d21cf57de16f5fec2861ea68e60c843a0e40c1356c
pkgname = pokemon-revolution-online-bin
diff --git a/PKGBUILD b/PKGBUILD
index cb81a9f10e8e..883491733d41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=pokemon-revolution-online-bin
__LIN_DESKTOP_ASSET_VER=0.4.1
-__PROCLIENT_VER=20211002
+__PROCLIENT_VER=20211201
pkgver=${__PROCLIENT_VER}+${__LIN_DESKTOP_ASSET_VER}
-pkgrel=2
+pkgrel=1
pkgdesc="A free-to-play, fan-made, MMO game that is predicated around the official Pokémon games."
arch=('x86_64')
url="https://pokemonrevolution.net"
@@ -18,24 +18,22 @@ source=("git+https://gitlab.com/fabiscafe/pro_assets_lin_desktop.git#tag=${__LIN
"PROClient_linux-${__PROCLIENT_VER}.zip::https://ddl.pokemonrevolution.net/PROClient_linux.zip"
)
sha512sums=('SKIP'
- 'cb1e1570a81a5c036f469965ec433cfd971de1f485d32d2d68ef7fcfee700b50b689631ed35c237623b938d24f4559a745ca4b7f3ce79f74f3ef30344f76bcca')
+ '5252fc2805505f2e3c2fa1735f8b66cc4c95831c187ace5226f7c3b3bf538c3f42b5698be2d09843e17359d21cf57de16f5fec2861ea68e60c843a0e40c1356c')
package() {
- #PROCLIENT PART
- ###############
+ cd "PROClient"
+ # As of wishes from the license, don't touch the original, extracted files.
+ # Instead copy the structure and files 1:1 with better permissions.
+ # Everything outside of /opt/PROClient is provided by
+ # https://gitlab.com/fabiscafe/pro_assets_lin_desktop.git
- # CREATE: directory structure
- /usr/bin/install -dm755 "${pkgdir}/opt/PROClient"
-
- ## This uses "." as current dir, in order to not have the whole build path (for many /home/user/blabla)
- ## in the install path. srcdir needs to be the starting point.
- cd "${srcdir}/PROClient"
+ # Folderstructure
/usr/bin/find . \
-type d \
-exec \
/usr/bin/install -dm755 "${pkgdir}/opt/PROClient/{}" \;
-
- # INSTALL
+
+ # Gamedata and binaries
/usr/bin/find . \
-type f \
! -name "PROClient.x86_64" \
@@ -44,24 +42,16 @@ package() {
/usr/bin/install -m755 "${srcdir}/PROClient/PROClient.x86_64" "${pkgdir}/opt/PROClient/PROClient.x86_64"
- #_DATA PART
- ###########
-
- #MOVE ICON
- ## The original icon is proprietary with a license that don't allows changes to the overall content.
- ## Don't use the original icon for the '.desktop entry because of this.
+ # Integration (by pro_assets_lin_desktop.git)
/usr/bin/install -D -m644 "${srcdir}/pro_assets_lin_desktop/net.pokemonrevolution.svg" \
"${pkgdir}/usr/share/pixmaps/net.pokemonrevolution.svg"
- # DESKTOP FILE
/usr/bin/install -D -m644 "${srcdir}/pro_assets_lin_desktop/net.pokemonrevolution.desktop" \
"${pkgdir}/usr/share/applications/net.pokemonrevolution.desktop"
- # START SCRIPT
/usr/bin/install -D -m755 "${srcdir}/pro_assets_lin_desktop/PROClient" \
"${pkgdir}/usr/bin/PROClient"
- # COPYRIGHT FILE
/usr/bin/install -D -m644 "${srcdir}/pro_assets_lin_desktop/pkg_copyright" \
"${pkgdir}/usr/share/licenses/pokemon-revolution-online-bin/copyright"
}