mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Initial build (0.34.2)
This commit is contained in:
commit
2c9c0d21d1
4 changed files with 94 additions and 0 deletions
22
.SRCINFO
Normal file
22
.SRCINFO
Normal file
|
|
@ -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
|
||||
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
*
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.gitignore
|
||||
!.nvchecker.toml
|
||||
5
.nvchecker.toml
Normal file
5
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
["ss14.launcher-bin"]
|
||||
source = "github"
|
||||
github = "space-wizards/SS14.Launcher"
|
||||
use_latest_release = true
|
||||
prefix = "v"
|
||||
62
PKGBUILD
Normal file
62
PKGBUILD
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
|
||||
|
||||
_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}"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue