# Maintainer: Oscar Morante # Co-maintainer: Dragoon Aethis pkgname=substance-designer pkgver=2019.1.2 _build=2391 pkgrel=1 pkgdesc="Node-based, non-destructive PBR material authoring tool." arch=('x86_64') url='https://www.allegorithmic.com/products/substance-designer' license=('custom') depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4') options=('!strip') source=("https://download.allegorithmic.com/substance-designer/2019.x/Substance_Designer-${pkgver}-${_build}-linux-x64-standard-full.rpm" 'substance-designer-icon.png' 'substance-designer.desktop' 'substance-designer') sha256sums=('9e202ddc7893881410b84dc20e2fa7b912fff162fe77a2a76f0c7fb0cbfc691d' '8f7f090d96dbb3535747d2c09c32970343c8887df610bc7ef92b59871a9bfb35' '223b641960e9fab3e8ba67e171c84e91ebe6f171a748b9036e4bc97fd4ec6cae' '714d4484f5ca6d1ac0de77729ab60fc6aee53a7dc217fda5a6401fb6f8eee156') validpgpkeys=() package() { mkdir -p ${pkgdir}/opt/Allegorithmic mv ${srcdir}/opt/Allegorithmic/Substance_Designer ${pkgdir}/opt/Allegorithmic install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Designer/eula.txt \ ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt rm ${pkgdir}/opt/Allegorithmic/Substance_Designer/eula.txt # Workaround for https://forum.substance3d.com/index.php/topic,29285.0.html rm ${pkgdir}/opt/Allegorithmic/Substance_Designer/libfreetype.so.6 install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-designer.desktop" install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-designer-icon.png" install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-designer" }