unityhub 3.17.3
The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations
Не провереноПроисхождение пакета не подтверждено.
Используемые названия и товарные знаки принадлежат соответствующим владельцам.
1sfe_249_new_extractor=1
2
3name=unityhub
4version=3.17.3
5release=1
6summary="The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations"
7group="Development/Tools"
8desc="$summary."
9maintainer="Maxim Slipenko <maks1ms@alt-gnome.ru>"
10architectures=("amd64")
11homepage="https://unity.com/"
12license=("custom")
13appstream_app_id='com.unity.UnityHub'
14
15nonfree=1
16nonfree_url="https://unity.com/legal/terms-of-service"
17
18provides=()
19conflicts=()
20
21# "https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_amd64/unityhub-amd64-${version}.deb?~name=${name}-${version}.deb"
22sources=(
23 "https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_amd64/UnityHubSetup-amd64.deb?~name=${name}-${version}.deb"
24 "local:///services-config.json?~archive=false"
25)
26
27checksums=(
28 sha256:4557902db7d03a49f94b3a0f5ba6e3ae769135f94f7157f0fa0aeac4c5338206
29 sha256:20b38d9caf81d580cc7f6bca624bc976fdeac4c408ada8ae4c69ecbd8cd44a89
30)
31
32auto_reqprov_method=dirty
33auto_req=1
34auto_prov=1
35
36auto_req_filter=(
37 libc\.musl-x86_64
38)
39
40disable_network=1
41
42prepare() {
43 tar -xf data.tar.* -C "$pkgdir/"
44}
45
46package() {
47 mkdir -p "$pkgdir/usr/bin"
48 ln -sf '/opt/unityhub/unityhub' "$pkgdir/usr/bin/unityhub"
49 install -Dm644 "$srcdir/services-config.json" "$pkgdir/usr/share/unity3d/config/services-config.json"
50}
51
52files() {
53 files-find-binary unityhub
54 files-find-desktop unityhub.desktop
55 files-find-doc unityhub
56
57 files-find \
58 "/opt/${name}" \
59 "/opt/${name}/**/*" \
60 "/usr/share/icons/hicolor/**/apps/unityhub.png"
61
62 files-find "/usr/share/unity3d/config/services-config.json"
63}