From a9f8fcc61d9824e3b671b883b6d9b44b564d294e Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sat, 14 Jan 2023 17:57:16 -0800 Subject: [PATCH] New package: unityhub-3.4.0 --- srcpkgs/unityhub/files/LICENSE | 1 + srcpkgs/unityhub/template | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 srcpkgs/unityhub/files/LICENSE create mode 100644 srcpkgs/unityhub/template diff --git a/srcpkgs/unityhub/files/LICENSE b/srcpkgs/unityhub/files/LICENSE new file mode 100644 index 000000000000..7bae6565cce7 --- /dev/null +++ b/srcpkgs/unityhub/files/LICENSE @@ -0,0 +1 @@ +The current version of this license can be found at: https://unity3d.com/legal/licenses/Unity_Package_Distribution_License diff --git a/srcpkgs/unityhub/template b/srcpkgs/unityhub/template new file mode 100644 index 000000000000..403c9379980e --- /dev/null +++ b/srcpkgs/unityhub/template @@ -0,0 +1,29 @@ +# Template file for 'unityhub' +pkgname=unityhub +version=3.4.0 +revision=1 +archs="x86_64" +create_wrksrc=yes +hostmakedepends="rpmextract" +depends="gtk+3 libnotify xdg-utils libuuid libsecret" +short_desc="Unity installation manager" +maintainer="oreo639 " +license="custom:Proprietary" +homepage="https://unity.com/" +distfiles="https://hub-dist.unity3d.com/artifactory/hub-rpm-prod-local/unity/stable/unityhub_x86_64/unityhub_x86_64-${version}.rpm" +checksum=c027c2d81753ea0b78978ae666ff3ac75ffb120688ac05397ff8062985c7d035 +nostrip=yes +restricted=yes +noshlibprovides=yes +repository=nonfree +nopie=yes + +do_install() { + vcopy "*" / + mkdir -p ${DESTDIR}/usr/bin/ + ln -sf /opt/unityhub/unityhub ${DESTDIR}/usr/bin/unityhub +} + +post_install() { + vlicense ${FILESDIR}/LICENSE +}