diff options
author | Ilya Chelyadin | 2020-06-04 03:07:12 +0300 |
---|---|---|
committer | Ilya Chelyadin | 2020-06-04 03:07:12 +0300 |
commit | c43adc851e780ff736f48d6d1cc1a46e1d49c998 (patch) | |
tree | 5de261028914e7b5b93886137d0df6cae8588086 | |
parent | 07120884e74ceb126f0118416bf53815c13e0198 (diff) | |
download | aur-c43adc851e780ff736f48d6d1cc1a46e1d49c998.tar.gz |
Updated to version 2020
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | maya.desktop | 6 | ||||
-rw-r--r-- | maya.install | 41 |
4 files changed, 68 insertions, 35 deletions
@@ -1,20 +1,19 @@ -# Generated by mksrcinfo v8 -# Mon Jun 26 16:12:55 UTC 2017 pkgbase = maya pkgdesc = Autodesk Maya 3D modelling software suite - pkgver = 2017_UPDATE_4 + pkgver = 2020 pkgrel = 1 url = http://www.autodesk.com/products/maya/overview install = maya.install arch = x86_64 license = custom: unlimited - depends = libpng12 + depends = libpng15 depends = tcsh depends = libxp depends = openssl depends = libjpeg6-turbo depends = libtiff depends = gamin + depends = fuse2 depends = audiofile depends = e2fsprogs depends = xorg-fonts-75dpi @@ -22,10 +21,10 @@ pkgbase = maya depends = xorg-fonts-misc depends = openssl-1.0 options = !strip - source = http://up.autodesk.com/2017/MAYA/Autodesk_Maya_2017_Update4_EN_Linux_64bit.tgz + source = http://edutrial.autodesk.com/NetSWDLD/2020/MAYA/BB8314BA-8DE1-45E4-B827-79F63158212E/ESD/Autodesk_Maya_2020_ML_Linux_64bit.tgz source = maya.desktop - sha512sums = 2a61fd644b904b0d50d6376d45e6c9e1fdcfe2c2a24ef3ca4eccebaba34e4c026b60640d4a31678d64076d5b3a57eec788e138edba896926d6ba20e295f0e819 - sha512sums = 1050ff7d4ff5e0686cab8c7977b83fd8c911f88afa8a93b7cb7d4a095f1a441d9f3732be9a59406856904a406ffe07c4633f92b7c91b052f8d4cd1422f5e7f3f + sha512sums = 3a41b59cbed83edc0344d69ac0a0391ea7152ae8e7c4af9f0ea472d3de8d66538d2acaaef909fcb36ef1d2b5f5b9d3986899f1dbae928e395dff36337656c2d8 + sha512sums = 30611e2271c306a1ba534534d1a0e976c9f83f13c6400a164cdd06bddf8f5c1f6b4e758edfc22072588c0b34de0579f498af58ef771be2e64035336786a5f667 pkgname = maya @@ -1,24 +1,26 @@ # Maintainer ~ kyle[dot]devir[at]mykolab[dot]com +# Co-Maintainer: Ilya Chelyadin <ilya77105@gmail.com> # Contributor: Luca Weiss <luca (at) z3ntu (dot) xyz> pkgname=maya -pkgver=2017_UPDATE_4 -_pkgver=2017_Update4 +pkgver=2020 +_pkgver=2020 pkgrel=1 pkgdesc="Autodesk Maya 3D modelling software suite" arch=('x86_64') url="http://www.autodesk.com/products/maya/overview" license=('custom: unlimited') -depends=('libpng12' 'tcsh' 'libxp' 'openssl' 'libjpeg6-turbo' 'libtiff' 'gamin' +depends=('libpng15' 'tcsh' 'libxp' 'openssl' 'libjpeg6-turbo' 'libtiff' 'gamin' 'fuse2' #changed to libpng15, added fuse2 'audiofile' 'e2fsprogs' 'xorg-fonts-75dpi' 'xorg-fonts-100dpi' 'xorg-fonts-misc' 'openssl-1.0') install="maya.install" options=(!strip) -source=("http://up.autodesk.com/2017/MAYA/Autodesk_Maya_${_pkgver}_EN_Linux_64bit.tgz" +source=('http://edutrial.autodesk.com/NetSWDLD/2020/MAYA/BB8314BA-8DE1-45E4-B827-79F63158212E/ESD/Autodesk_Maya_2020_ML_Linux_64bit.tgz' 'maya.desktop') -sha512sums=('2a61fd644b904b0d50d6376d45e6c9e1fdcfe2c2a24ef3ca4eccebaba34e4c026b60640d4a31678d64076d5b3a57eec788e138edba896926d6ba20e295f0e819' - '1050ff7d4ff5e0686cab8c7977b83fd8c911f88afa8a93b7cb7d4a095f1a441d9f3732be9a59406856904a406ffe07c4633f92b7c91b052f8d4cd1422f5e7f3f') +sha512sums=('3a41b59cbed83edc0344d69ac0a0391ea7152ae8e7c4af9f0ea472d3de8d66538d2acaaef909fcb36ef1d2b5f5b9d3986899f1dbae928e395dff36337656c2d8' + '30611e2271c306a1ba534534d1a0e976c9f83f13c6400a164cdd06bddf8f5c1f6b4e758edfc22072588c0b34de0579f498af58ef771be2e64035336786a5f667') + prepare() { cd "$srcdir" @@ -31,7 +33,7 @@ package() { cd "$pkgdir" # Extract RPMs - for i in ../../maya-setup/*.rpm; do + for i in ../../maya-setup/Packages/*.rpm; do msg2 "Extracting ${i}" bsdtar -xf $i done @@ -44,20 +46,31 @@ package() { # cp "$pkgdir"/opt/Autodesk/Adlm/R12/lib64/libadlmPIT.so.12 "$pkgdir"/usr/lib/libadlmPIT.so.12 # cp "$pkgdir"/opt/Autodesk/Adlm/R12/lib64/libadlmutil.so.12 "$pkgdir"/usr/lib/libadlmutil.so.12 - ln -s /usr/lib/libssl.so.1.0.0 "$pkgdir"/usr/autodesk/maya2017/lib/libssl.so.10 - ln -s /usr/lib/libcrypto.so.1.0.0 "$pkgdir"/usr/autodesk/maya2017/lib/libcrypto.so.10 - ln -s /usr/lib/libjpeg.so.62 "$pkgdir"/usr/autodesk/maya2017/lib/libjpeg.so.62 - ln -s /usr/lib/libtiff.so "$pkgdir"/usr/autodesk/maya2017/lib/libtiff.so.3 + ln -s /usr/lib/libssl.so.1.0.0 "$pkgdir"/usr/autodesk/maya2020/lib/libssl.so.10 + ln -s /usr/lib/libcrypto.so.1.0.0 "$pkgdir"/usr/autodesk/maya2020/lib/libcrypto.so.10 + ln -s /usr/lib/libjpeg.so.62 "$pkgdir"/usr/autodesk/maya2020/lib/libjpeg.so.62 + ln -s /usr/lib/libtiff.so "$pkgdir"/usr/autodesk/maya2020/lib/libtiff.so.3 mkdir -p "$pkgdir"/usr/bin/ chmod 755 "$pkgdir"/usr/bin/ - ln -s /usr/autodesk/maya2017/bin/maya2017 "$pkgdir"/usr/bin/maya2017 + ln -s /usr/autodesk/maya2020/bin/maya2020 "$pkgdir"/usr/bin/maya2020 mkdir -p "$pkgdir"/usr/share/applications/ + mkdir -p "$pkgdir"/var/opt/Autodesk/ + chmod 755 "$pkgdir"/usr/share/applications/ install -Dm644 ../../maya-setup/maya.desktop "$pkgdir"/usr/share/applications/maya.desktop - mkdir -p "$pkgdir"/opt/maya-setup/ - chmod 755 "$pkgdir"/opt/maya-setup/ - cp ../../maya-setup/setup{,.xml} "$pkgdir"/opt/maya-setup/ + ln -sf /opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/AdskLicensingService "$pkgdir"/usr/bin/AdskLicensingService + ln -sf /tmp "$pkgdir"/usr/tmp #Maya uses /usr/tmp instead of normal /tmp, installing symlink + mkdir -p "$pkgdir"/usr/lib/systemd/system/ + cp -f "$pkgdir"/opt/Autodesk/AdskLicensing/9.2.1.2399/AdskLicensingService/adsklicensing.el7.service "$pkgdir"/usr/lib/systemd/system/adsklicensing.service + chmod 644 "$pkgdir"/usr/lib/systemd/system/adsklicensing.service + + +# mkdir -p "$pkgdir"/opt/maya-setup/ +# chmod 755 "$pkgdir"/opt/maya-setup/ +# cp ../../maya-setup/Setup "$pkgdir"/opt/maya-setup/ +# cp ../../maya-setup/setup.xml "$pkgdir"/opt/maya-setup/ + } diff --git a/maya.desktop b/maya.desktop index e10d1df57695..77cad70da86c 100644 --- a/maya.desktop +++ b/maya.desktop @@ -1,10 +1,10 @@ [Desktop Entry] -Name=Autodesk Maya 2017 +Name=Autodesk Maya 2020 GenericName=Maya Comment=3D modeling, animation, rendering and post-production Keywords=3d;cg;modeling;animation;painting;sculpting;texturing;rendering;render engine;python; -Exec=/usr/autodesk/maya2017/bin/maya2017 -Icon=/usr/autodesk/maya2017/icons/mayaico.png +Exec=/usr/autodesk/maya2020/bin/maya2020 +Icon=/usr/autodesk/maya2020/icons/mayaico.png Terminal=false Type=Application Categories=Graphics;3DGraphics; diff --git a/maya.install b/maya.install index ccf694af1cfc..3fc1abfe2300 100644 --- a/maya.install +++ b/maya.install @@ -1,27 +1,35 @@ show_msg() { - echo -e 'MAYA_LICENSE=unlimited\nMAYA_LICENSE_METHOD=standalone' > /usr/autodesk/maya2017/bin/License.env + echo -e 'MAYA_LICENSE=unlimited\nMAYA_LICENSE_METHOD=standalone' > /usr/autodesk/maya2020/bin/License.env - /opt/Autodesk/Adlm/FLEXnet/bin/install_fnp.sh /opt/Autodesk/Adlm/FLEXnet/bin/FNPLicensingService + /opt/Autodesk/Adlm/FLEXnet/bin/install_fnp.sh /opt/Autodesk/Adlm/FLEXnet/bin/FNPLicensingService --nolsb read -r -d '' POSTINSTALLMGG << EOF -## In order to activate Maya, you need to run its registration setup file and -## enter your registration information. +## In order to activate Maya, at firts you need to +## start the Autodesk Licensing Service ## Run: -$ sudo /opt/maya-setup/setup +$ sudo systemctl start adsklicensing + ## When it asks for your registration information, ## go to http://www.autodesk.com/education/free-software/maya -## and create a student account. Next, select Maya 2017 for the version, +## and create a student account. Next, select Maya 2020 for the version, ## Linux as the operating system, and English for the language. -## Follow the setup all the way through. Installation will fail, but that's -## normal. - +## Then you must to register Maya manually + +## Run: + +$ sudo /opt/Autodesk/AdskLicensing/9.2.1.2399/helper/AdskLicensingInstHelper register --pk 657L1 --pv 2020.0.0.F --cf /var/opt/Autodesk/Adlm/Maya2020/MayaConfig.pit --el en --sn yourserialnumber + +with your serial number + ## Next, run Maya to activate the licence. -$ maya2017 +$ maya2020 + +## Select "enter a serial number", then Maya starts ## Maya uses the Alt key to move around, so if your window manager uses ## pure Alt for moving the window around, change it to Meta or something. @@ -36,9 +44,22 @@ EOF } post_install() { + getent group adsklic &>/dev/null || sudo groupadd adsklic + id -u adsklic &>/dev/null || sudo useradd -M -r -g adsklic adsklic -d / -s /usr/sbin/nologin + + chown -R adsklic:adsklic /var/opt/Autodesk/ + + xset +fp /usr/share/fonts/100dpi/ #Helvantica fix + xset +fp /usr/share/fonts/75dpi/ + xset fp rehash show_msg } post_upgrade() { show_msg } + +post_remove() { + rm -r /var/opt/ + rm -r /usr/autodesk +} |