summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss2017-05-13 20:49:49 +0200
committerLuca Weiss2017-05-13 20:49:49 +0200
commit92c9d3434e3249a36e2e4b302d0a8410249e1843 (patch)
tree19694e143e0250511b062c74b17b0a22c923e787
parent64cc0b99027e9b0c8b03f88cd1853536850fb422 (diff)
downloadaur-92c9d3434e3249a36e2e4b302d0a8410249e1843.tar.gz
Install maya setup into the filesystem
-rw-r--r--PKGBUILD12
-rw-r--r--maya.install5
-rw-r--r--maya_start.sh12
3 files changed, 10 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7437fecbadb..e50b960faf8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,10 +38,10 @@ package() {
mkdir "$pkgdir"/usr/tmp/
chmod 777 "$pkgdir"/usr/tmp/
- mkdir -p "$pkgdir"/usr/lib/
- chmod 755 "$pkgdir"/usr/lib/
- 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
+# mkdir -p "$pkgdir"/usr/lib/
+# chmod 755 "$pkgdir"/usr/lib/
+# 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
@@ -55,4 +55,8 @@ package() {
mkdir -p "$pkgdir"/usr/share/applications/
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/
}
diff --git a/maya.install b/maya.install
index e9b3f6d7ab2..a8ca1b33f91 100644
--- a/maya.install
+++ b/maya.install
@@ -7,10 +7,9 @@ post_install() {
## In order to activate Maya, you need to run its registration setup file and
## enter your registration information.
-## Find the folder where your Maya package was built, go into the folder maya-setup,
-## and run:
+## Run:
-$ sudo ./setup
+$ sudo /opt/maya-setup/setup
## When it asks for your registration information,
## go to http://www.autodesk.com/education/free-software/maya
diff --git a/maya_start.sh b/maya_start.sh
deleted file mode 100644
index e87ec108bf7..00000000000
--- a/maya_start.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-sudo -v
-## Bug with openGL populate
-sudo mv /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/baklibGL.so
-sudo ldconfig
-
-## Maya does not need sudo to run
-oriMaya
-
-sudo mv /usr/lib/x86_64-linux-gnu/baklibGL.so /usr/lib/x86_64-linux-gnu/libGL.so
-sudo ldconfig \ No newline at end of file