commit 2c9c0d21d1f74baa851de48c581ca3ff6b03fd05 Author: Vitalii Kuzhdin Date: Tue Sep 30 20:35:28 2025 +0300 Initial build (0.34.2) diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..38fcaadaca2a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = ss14.launcher-bin + pkgdesc = Space Station 14 launcher + pkgver = 0.34.2 + pkgrel = 1 + url = https://spacestation14.com + arch = aarch64 + arch = x86_64 + license = MIT + makedepends = gendesk + depends = dotnet-runtime-9.0 + provides = ss14.launcher + conflicts = ss14.launcher + source = ss14.launcher-0.34.2-all.zip::https://github.com/space-wizards/SS14.Launcher/releases/download/v0.34.2/SS14.Launcher_Linux.zip + source = ss14.launcher-0.34.2-README.md::https://github.com/space-wizards/SS14.Launcher/raw/refs/tags/v0.34.2/Readme.md + source = ss14.launcher-0.34.2-LICENSE::https://github.com/space-wizards/SS14.Launcher/raw/refs/tags/v0.34.2/LICENSE.txt + source = ss14.launcher.svg::https://github.com/space-wizards/asset-dump/raw/refs/heads/master/icon.svg + sha256sums = e52e37180c64aedc10e6e5754db3cf4d09ee02b5c6abb65031203480456f22b8 + sha256sums = a4fe3a4ff1dcddaf4ce428f91a068bada67090a4f670730fb29f828c4a8a6f71 + sha256sums = 0fbcce2a4bb551dab1e360febc2b26c5abbad45e91c4d7b78203735e6b8e807e + sha256sums = SKIP + +pkgname = ss14.launcher-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..218cc907c9ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore +!.nvchecker.toml diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..ef0e17360490 --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,5 @@ +["ss14.launcher-bin"] +source = "github" +github = "space-wizards/SS14.Launcher" +use_latest_release = true +prefix = "v" diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1bd1b5588c25 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Vitalii Kuzhdin + +_sdk=9.0 +_Name="SS14.Launcher" +_pkgname="${_Name,,}" +pkgname="${_pkgname}-bin" +pkgver=0.34.2 +pkgrel=1 +pkgdesc="Space Station 14 launcher" +arch=('aarch64' 'x86_64') +url="https://spacestation14.com" +_url="https://github.com/space-wizards/${_Name}" +license=('MIT') +depends=( + "dotnet-runtime-${_sdk}" +) +makedepends=( + 'gendesk' +) +provides=( + "${_pkgname}" +) +conflicts=( + "${_pkgname}" +) +_pkgsrc="${_pkgname}-${pkgver}" +source=("${_pkgsrc}-all.zip::${_url}/releases/download/v${pkgver}/${_Name}_Linux.zip" + "${_pkgsrc}-README.md::${_url}/raw/refs/tags/v${pkgver}/Readme.md" + "${_pkgsrc}-LICENSE::${_url}/raw/refs/tags/v${pkgver}/LICENSE.txt" + "${_pkgname}.svg::https://github.com/space-wizards/asset-dump/raw/refs/heads/master/icon.svg") +sha256sums=('e52e37180c64aedc10e6e5754db3cf4d09ee02b5c6abb65031203480456f22b8' + 'a4fe3a4ff1dcddaf4ce428f91a068bada67090a4f670730fb29f828c4a8a6f71' + '0fbcce2a4bb551dab1e360febc2b26c5abbad45e91c4d7b78203735e6b8e807e' + 'SKIP') + +if [ "${CARCH}" = 'aarch64' ]; then _msarch=arm64; +elif [ "${CARCH}" = 'armv7h' ]; then _msarch=arm; +elif [ "${CARCH}" = 'i686' ]; then _msarch=x86; +elif [ "${CARCH}" = 'x86_64' ]; then _msarch=x64; fi + +build() { + cd "${srcdir}" + gendesk -f -n \ + --pkgname "${_pkgname}" \ + --pkgdesc "${pkgdesc}" \ + --name "${_Name}" \ + --exec "${_Name}" \ + --categories "Game" +} + +package() { + cd "${srcdir}" + install -vDm644 "${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + + install -vDm644 "${_pkgsrc}-README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md" + install -vDm644 "${_pkgsrc}-LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" + install -vDm644 "${_pkgname}.svg" "${pkgdir}/usr/share/pixmaps/${_pkgname}.svg" + + install -vd "${pkgdir}/usr/bin" "${pkgdir}/usr/lib/${_pkgname}" + cp -vaT "bin_${_msarch}" "${pkgdir}/usr/lib/${_pkgname}" + ln -vsf "/usr/lib/${_pkgname}/${_Name}" "${pkgdir}/usr/bin/${_Name}" +}