unityhub 3.18.0
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.18.0
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
21sources=(
22 "https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_amd64/UnityHubSetup-${version}-amd64.deb?~name=${name}-${version}.deb"
23 "local:///services-config.json?~archive=false"
24)
25
26checksums=(
27 sha256:24392617c00dbd6d23e4bfbdda9ad471516a0db5065e4c715193e3b4eab00e59
28 sha256:20b38d9caf81d580cc7f6bca624bc976fdeac4c408ada8ae4c69ecbd8cd44a89
29)
30
31auto_reqprov_method=dirty
32auto_req=1
33auto_prov=1
34
35auto_req_filter=(
36 libc\.musl-x86_64
37)
38
39disable_network=1
40
41prepare() {
42 tar -xf data.tar.* -C "$pkgdir/"
43}
44
45package() {
46 mkdir -p "$pkgdir/usr/bin"
47 ln -sf '/opt/unityhub/unityhub' "$pkgdir/usr/bin/unityhub"
48 install -Dm644 "$srcdir/services-config.json" "$pkgdir/usr/share/unity3d/config/services-config.json"
49}
50
51files() {
52 files-find-binary unityhub
53 files-find-desktop unityhub.desktop
54 files-find-doc unityhub
55
56 files-find \
57 "/opt/${name}" \
58 "/opt/${name}/**/*" \
59 "/usr/share/icons/hicolor/**/apps/unityhub.png"
60
61 files-find "/usr/share/unity3d/config/services-config.json"
62}