# Maintainer: t-ask # Co-maintainer: lehthanis # Co-maintainer: Rain_Shinotsu # Contributor: Oscar Morante # Contributor: Dragoon Aethis pkgname=substance-player pkgver=12.2.1 _build=5947 pkgrel=1 pkgdesc="PBR material preview, visualization and tweaking software." arch=('x86_64') url='https://www.substance3d.com/' license=('custom') depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4') options=('!strip') source=("https://download.substance3d.com/substance-player/12.x/Substance_Player-${pkgver}-${_build}-linux-x64-standard.rpm") sha256sums=('cbb67ba810e9f89c2bd0072b9a5a527dc3d82cebee0aafbd58469aace6aa45c6') validpgpkeys=() package() { mkdir -p "${pkgdir}/opt/Adobe" install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/opt/Allegorithmic/Substance_Player/resources/adobe-Substance_Player.desktop" install -Dm644 "${srcdir}/opt/Allegorithmic/Substance_Player/resources/adobe-x.adobe.substance3d.designer.xml" "${pkgdir}/usr/share/mime/packages/adobe-x.adobe.substance.player.xml" install -Dm644 -t "${pkgdir}/usr/share/icons" "${srcdir}/opt/Allegorithmic/Substance_Player/resources/icons/player-256x256.png" mv "${pkgdir}/usr/share/icons/player-256x256.png" "${pkgdir}/usr/share/icons/allegorithmic-Substance_Player.png" mv "${srcdir}/opt/Allegorithmic" "${pkgdir}/opt/" }