commit caa92477509f1dc314cdef180613f467fa223153 Author: Robin Madsen Date: Sat Jan 17 15:30:22 2026 +0100 Package release 4.6.0 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..be0cf58ecba4 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df9bd6f974df --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: robserob +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 +} diff --git a/launcher.sh b/launcher.sh new file mode 100755 index 000000000000..3fbcdbe58b0c --- /dev/null +++ b/launcher.sh @@ -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 diff --git a/license.txt b/license.txt new file mode 100644 index 000000000000..301c70cc1eab --- /dev/null +++ b/license.txt @@ -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. \ No newline at end of file diff --git a/vpin-studio-client.desktop b/vpin-studio-client.desktop new file mode 100644 index 000000000000..43113b13b3ea --- /dev/null +++ b/vpin-studio-client.desktop @@ -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 diff --git a/vpin-studio.png b/vpin-studio.png new file mode 100644 index 000000000000..ff850c6c5910 Binary files /dev/null and b/vpin-studio.png differ