Package release 4.6.0

This commit is contained in:
Robin Madsen 2026-01-17 15:30:22 +01:00
commit caa9247750
6 changed files with 105 additions and 0 deletions

22
.SRCINFO Normal file
View file

@ -0,0 +1,22 @@
pkgbase = vpin-studio-client-bin
pkgdesc = Client to connect to Vpin Studio servers, an open source pinball cabinet manager
pkgver = 4.6.0
pkgrel = 1
url = https://github.com/syd711/vpin-studio
arch = x86_64
license = MIT
makedepends = unzip
makedepends = cmake
depends = zulu11-fx-bin
source = vpin-studio-client-bin-4.6.0.zip::https://github.com/syd711/vpin-studio/releases/download/4.6.0/VPin-Studio-Client-linux-x64.zip
source = vpin-studio-client.desktop
source = vpin-studio.png
source = launcher.sh
source = license.txt
sha256sums = 6977d33d6fe93f005dd6360872e82e8326317a29e894a0a3c656b2a4734a9aad
sha256sums = da677687ce26ee9c7da8c9282254f73a2756174047d6683357f3d9b2045aef89
sha256sums = 2561ca46d2104ca5bed1e52df71520b51b10e2467b436a5dc50a5a9b46edb879
sha256sums = 233136d6c651522ffa4ae591493916a1c8507d673e4d95204d86f31667901c5e
sha256sums = b69ce1302dc90df90637db38163ee1becbe556b316a52c0eaaf7f82cd6fbe765
pkgname = vpin-studio-client-bin

43
PKGBUILD Normal file
View file

@ -0,0 +1,43 @@
# Maintainer: robserob <robin at robserob.dk>
pkgname=vpin-studio-client-bin
pkgver=4.6.0
pkgrel=1
pkgdesc="Client to connect to Vpin Studio servers, an open source pinball cabinet manager"
arch=('x86_64')
url="https://github.com/syd711/vpin-studio"
license=('MIT')
depends=('zulu11-fx-bin')
makedepends=('unzip' 'cmake')
source=("${pkgname}-${pkgver}.zip::https://github.com/syd711/vpin-studio/releases/download/4.6.0/VPin-Studio-Client-linux-x64.zip"
"vpin-studio-client.desktop"
"vpin-studio.png"
"launcher.sh"
"license.txt")
sha256sums=('6977d33d6fe93f005dd6360872e82e8326317a29e894a0a3c656b2a4734a9aad'
'da677687ce26ee9c7da8c9282254f73a2756174047d6683357f3d9b2045aef89'
'2561ca46d2104ca5bed1e52df71520b51b10e2467b436a5dc50a5a9b46edb879'
'233136d6c651522ffa4ae591493916a1c8507d673e4d95204d86f31667901c5e'
'b69ce1302dc90df90637db38163ee1becbe556b316a52c0eaaf7f82cd6fbe765')
package() {
mkdir -p "${pkgdir}/opt/${pkgname}"
mkdir -p "${pkgdir}/usr/share/applications"
chmod +x "${srcdir}/launcher.sh"
mv "${srcdir}/launcher.sh" "${pkgdir}/opt/${pkgname}"
mv "${srcdir}/vpin-studio-ui.jar" "${pkgdir}/opt/${pkgname}"
mv "${srcdir}/resources" "${pkgdir}/opt/${pkgname}/resources"
install -m 0644 -p license.txt -D "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
install -Dm 644 "${srcdir}/vpin-studio.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/vpin-studio.png"
install -Dm 644 "${srcdir}/vpin-studio-client.desktop" "${pkgdir}/usr/share/applications/vpin-studio-client.desktop"
} # package
post_install() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_remove() {
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}

10
launcher.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
mkdir -p ~/.local/share/vpin-studio
cd ~/.local/share/vpin-studio
if [ ! -d resources ];
then
cp -r /opt/vpin-studio-client/resources ~/.local/share/vpin-studio
fi
/usr/lib/jvm/zulu11-fx-bin/bin/java -jar /opt/vpin-studio-client-bin/vpin-studio-ui.jar

21
license.txt Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 syd711
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=VPin Studio Client
Keywords=game pinball vpin;
Icon=vpin-studio
Exec=/opt/vpin-studio-client-bin/launcher.sh
Terminal=false
Categories=Game;
Comment=An open source pinball cabinet manager

BIN
vpin-studio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB