# Maintainer: Oscar Morante # Co-maintainer: Dragoon Aethis # Co-maintainer: t-ask pkgname=substance-painter pkgver=2018.2.1 _build=2402 pkgrel=1 pkgdesc="3D painting software allowing you to texture, render and share your work." arch=('x86_64') url='https://www.allegorithmic.com/products/substance-painter' license=('custom') depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4') options=('!strip') # PNG assets here should be left untouched! source=("https://download.allegorithmic.com/substance-painter/2018.x/Substance_Painter-${pkgver}-${_build}-linux-x64-standard-full.rpm" 'substance-painter-icon.png' 'substance-painter.desktop' 'substance-painter') sha256sums=('f05502bffd1324ccf8e46d457dbecd09b68ee5b349e9d02f8df4e3ccddc82c71' '6744c1fbe8e9fb1fb91bd291e3ef8ac645bbfec1aa97915f440e6fbfebf4edbd' '9c506f1f3b9afd7bdb1a77d6196d097dad4b2344d7741d0fc0c7bd3b91f16129' 'e736a5e160be09cfe1588d349084e2f769815687db080b8c7b790e8751f185f1') validpgpkeys=() package() { mkdir -p ${pkgdir}/opt/Allegorithmic mv ${srcdir}/opt/Allegorithmic/Substance_Painter ${pkgdir}/opt/Allegorithmic install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Painter/eula.txt \ ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt rm ${pkgdir}/opt/Allegorithmic/Substance_Painter/eula.txt install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-painter.desktop" install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-painter-icon.png" install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-painter" }