summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorWilliam Tang2020-12-13 21:42:46 +0800
committerWilliam Tang2020-12-13 21:42:46 +0800
commitdbae4e86093ad2efdff2f9fe9468a4b65df56592 (patch)
tree763462093157c3c53a567e1ec92723d16d9522fe /PKGBUILD
parent28b26fbde0b32f1923e34f642b623a2d8f5e8e34 (diff)
downloadaur-maya-substance.tar.gz
Update version to 2.1.7 for Maya 2020.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cec73cbf468..50888e673a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,31 @@
# Maintainer: William Tang <galaxyking0419@gmail.com>
pkgname=maya-substance
-pkgver=2.1.2
+pkgver=2.1.7
pkgrel=1
pkgdesc='Autodesk Maya Substance Plugin'
arch=('x86_64')
url='https://www.substance3d.com/ecosystem-plug-ins/substance-in-maya'
license=('custom')
-depends=('gcc-libs' 'glibc' 'glu' 'libglvnd' 'libx11' 'libxau' 'libxcb' 'libxdmcp' 'libxext' 'maya>=2020')
+depends=('bzip2' 'double-conversion' 'freetype2' 'gcc-libs' 'glib2' 'glibc' 'glu' 'graphite' 'harfbuzz'
+ 'icu' 'libgcrypt' 'libglvnd' 'libgpg-error' 'libpng' 'libx11' 'libxau' 'libxcb' 'libxdmcp'
+ 'libxext' 'lz4' 'md4c' 'pcre' 'pcre2' 'qt5-base' 'systemd-libs' 'xz' 'zlib' 'zstd' 'maya=2020.4')
DLAGENTS+=('manual::/usr/bin/echo \ \ Note: Please download the package manually from the official website')
source=("manual://SubstanceInMaya-$pkgver-2020-Linux.rpm")
-sha256sums=('1307b537ac565e3ffe82e5a0bdad6c042ab169353f92d6aca00a637dab437bf8')
+sha256sums=('4516239dbbdbbd1cbea9bad8ec674860a1817fc4bee0addc322e5460464823d8')
options=(!strip)
package() {
- # Patch & Install mod File
- cat <<- EOF > opt/Allegorithmic/Substance_in_Maya/2020/substance2.mod
- + PLATFORM:linux substance2 $pkgver /usr/autodesk/maya2020/plug-ins/substance2
- PATH+:=lib
- EOF
- mkdir -p $pkgdir/usr/autodesk/maya2020/modules
- mv opt/Allegorithmic/Substance_in_Maya/2020/substance2.mod \
- $pkgdir/usr/autodesk/maya2020/modules/substance2.mod
+ # Patch & Install mod File
+ echo "+ PLATFORM:linux substance2 $pkgver /usr/autodesk/maya2020/plug-ins/substance2" > opt/Allegorithmic/Substance_in_Maya/2020/substance2.mod
+ echo 'PATH+:=lib' >> opt/Allegorithmic/Substance_in_Maya/2020/substance2.mod
- # Copy Plugin Files
- mkdir -p $pkgdir/usr/autodesk/maya2020/plug-ins/substance2
- cp -a opt/Allegorithmic/Substance_in_Maya/2020/* $pkgdir/usr/autodesk/maya2020/plug-ins/substance2/
-}
+ mkdir -p $pkgdir/usr/autodesk/maya2020/modules
+ mv opt/Allegorithmic/Substance_in_Maya/2020/substance2.mod $pkgdir/usr/autodesk/maya2020/modules/substance2.mod
+ # Copy Plugin Files
+ mkdir -p $pkgdir/usr/autodesk/maya2020/plug-ins/substance2
+ cp -a opt/Allegorithmic/Substance_in_Maya/2020/* $pkgdir/usr/autodesk/maya2020/plug-ins/substance2/
+}