From 4503fdfbfeb1abee5eacb92d22186628ab951b77 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.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 +}