From 08202e7773bf9c6aa870eb42b892da63fd2cf0e7 Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Wed, 6 Apr 2022 18:55:37 -0700 Subject: [PATCH] New package: unityhub-3.2.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..7503227ddc97 --- /dev/null +++ b/srcpkgs/unityhub/template @@ -0,0 +1,29 @@ +# Template file for 'unityhub' +pkgname=unityhub +version=3.2.0 +revision=1 +archs="x86_64" +create_wrksrc=yes +hostmakedepends="rpmextract" +depends="gtk+3 libnotify xdg-utils libuuid libsecret" +short_desc="Unity instalation 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=75cb18b0ec79ddef91c328521de9ad653d6001a4bf60c8ad34da639d62d95bb5 +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 +}