diff options
author | Robert Zhou | 2022-06-19 15:28:43 -0700 |
---|---|---|
committer | Robert Zhou | 2022-06-19 15:28:43 -0700 |
commit | d5dfa987e874246163060535198b4494afdb76f0 (patch) | |
tree | 5fd08a3ea076ee26b492a6ea01f51ed459d45ad7 | |
parent | 0142de2426a0a96b580cc292d1284993fa768f5a (diff) | |
download | aur-d5dfa987e874246163060535198b4494afdb76f0.tar.gz |
Remove .install file from sources per wiki guidelines and ensure the licensing service is started for automatic registration
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | maya.install | 2 |
3 files changed, 7 insertions, 9 deletions
@@ -1,7 +1,7 @@ pkgbase = maya pkgdesc = Autodesk Maya 3D Animation, Modelling, Simulation and Rendering Software pkgver = 2023.1 - pkgrel = 1 + pkgrel = 2 url = http://www.autodesk.com/products/maya/overview install = maya.install arch = x86_64 @@ -31,8 +31,6 @@ pkgbase = maya optdepends = maya-usd: Maya Universal Scene Description Plugin options = !strip source = manual://Maya2023_64-2023.1-1532.x86_64.rpm - source = maya.install sha256sums = ae1bd5b421959cbd65792e1a263aaf610100c8636756e24f997b010cc8776c23 - sha256sums = 6cb3e2c698e16680ee0d8be168e98f815bc15c7e8c7bf48af1e641e45f51faa5 pkgname = maya @@ -7,7 +7,7 @@ pkgname=maya pkgver=2023.1 _majorver="${pkgver%%.*}" -pkgrel=1 +pkgrel=2 pkgdesc='Autodesk Maya 3D Animation, Modelling, Simulation and Rendering Software' arch=('x86_64') url='http://www.autodesk.com/products/maya/overview' @@ -22,13 +22,11 @@ optdepends=('maya-arnold: Maya Arnold Renderer Plugin' 'maya-usd: Maya Universal Scene Description Plugin') DLAGENTS+=('manual::/usr/bin/echo \ \ Note: Please download the package manually from the official website') -source=("manual://Maya2023_64-$pkgver-1532.x86_64.rpm" - 'maya.install') -sha256sums=('ae1bd5b421959cbd65792e1a263aaf610100c8636756e24f997b010cc8776c23' - '6cb3e2c698e16680ee0d8be168e98f815bc15c7e8c7bf48af1e641e45f51faa5') +source=("manual://Maya2023_64-$pkgver-1532.x86_64.rpm") +sha256sums=('ae1bd5b421959cbd65792e1a263aaf610100c8636756e24f997b010cc8776c23') options=(!strip) -install='maya.install' +install="${pkgname}.install" prepare() { # Fix tmp directory diff --git a/maya.install b/maya.install index 7c4dad9ef72a..9777f4b97e89 100644 --- a/maya.install +++ b/maya.install @@ -1,7 +1,9 @@ post_install() { + systemctl start adsklicensing.service /opt/Autodesk/AdskLicensing/12.1.0.7121/helper/AdskLicensingInstHelper register --prod_key 657O1 --prod_ver 2023.0.0.F --config_file /var/opt/Autodesk/Adlm/Maya2023/MayaConfig.pit --eula_locale US } pre_remove() { + systemctl start adsklicensing.service /opt/Autodesk/AdskLicensing/12.1.0.7121/helper/AdskLicensingInstHelper deregister --prod_key 657O1 --prod_ver 2023.0.0.F } |