Guest User

Untitled

a guest
Aug 22nd, 2020
79
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: t-ask <t-ask-aur at agt24.com>
  2. # Co-maintainer: Oscar Morante <spacepluk@gmail.com>
  3. # Co-maintainer: Dragoon Aethis <dragoon@dragonic.eu>
  4.  
  5. pkgname=substance-painter
  6. pkgver=6.2.1
  7. _build=529
  8. pkgrel=1
  9. pkgdesc="3D painting software allowing you to texture, render and share your work."
  10. arch=('x86_64')
  11. url='https://download.substance3d.com/substance-painter'
  12. license=('custom')
  13. depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4')
  14. options=('!strip') # PNG assets here should be left untouched!
  15. source=("https://download.substance3d.com/substance-painter/6.x/Substance_Painter-${pkgver}-${_build}-linux-x64-standard.rpm"
  16. 'substance-painter-icon.png'
  17. 'substance-painter.desktop'
  18. 'substance-painter')
  19. sha256sums=('74b70c7e232d8ddac40e88aa5c57b86416bcb30662d80c03288cf6b5cc8a909a'
  20. 'e79b4d09983f355433a16adee7c6b308d9a1824187965d399f33acc68a14f193'
  21. '5c939be430674e7d61217f4f137a9974ecd38b65a432bc4bab4c64f5f145b4fd'
  22. 'e736a5e160be09cfe1588d349084e2f769815687db080b8c7b790e8751f185f1')
  23. validpgpkeys=()
  24.  
  25. package() {
  26. mkdir -p ${pkgdir}/opt/Allegorithmic
  27. mv ${srcdir}/opt/Allegorithmic/Substance_Painter ${pkgdir}/opt/Allegorithmic
  28.  
  29. install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Painter/eula.txt \
  30. ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt
  31. rm ${pkgdir}/opt/Allegorithmic/Substance_Painter/eula.txt
  32.  
  33. install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-painter.desktop"
  34. install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-painter-icon.png"
  35. install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-painter"
  36. }
  37.  
RAW Paste Data