blob: b6c400a4d3970a1debc74b246c54cd308e30a4ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: t-ask <t-ask-aur at cixera.com>
# Contributor: Oscar Morante <spacepluk@gmail.com>
# Contributor: Dragoon Aethis <dragoon@dragonic.eu>
# Co-maintainer: Robbie Powell <lehthanis@gmail.com>
# Co-maintainer: Rain Shinotsu <Rain_Shinotsu at proton.me>
pkgname=substance-painter
pkgver=8.1.3
_build=1860
pkgrel=1
pkgdesc="3D painting software allowing you to texture, render and share your work."
arch=('x86_64')
url='https://download.substance3d.com/substance-painter'
license=('custom')
depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4' 'libxcrypt-compat')
options=('!strip') # PNG assets here should be left untouched!
source=("https://download.substance3d.com/adobe-substance-3d-painter/8.x/Adobe_Substance_3D_Painter-${pkgver}-${_build}-linux-x86_64-standard.rpm")
sha256sums=('2eeddece05726e2293459dea0ee8260db72eedfdf97b0b719e30e9785e208b17')
validpgpkeys=()
package() {
mkdir -p "${pkgdir}/opt/Adobe"
install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/opt/Adobe/Adobe_Substance_3D_Painter/resources/adobe-Adobe_Substance_3D_Painter.desktop"
install -Dm644 -t "${pkgdir}/usr/share/mime/packages" "${srcdir}/opt/Adobe/Adobe_Substance_3D_Painter/resources/adobe-x.adobe.substance3d.painter.xml"
install -Dm644 -t "${pkgdir}/usr/share/icons" "${srcdir}/opt/Adobe/Adobe_Substance_3D_Painter/resources/icons/painter-256x256.png"
mv "${pkgdir}/usr/share/icons/painter-256x256.png" "${pkgdir}/usr/share/icons/adobe-Adobe_Substance_3D_Painter.png"
mv "${srcdir}/opt/Adobe/Adobe_Substance_3D_Painter" "${pkgdir}/opt/Adobe/"
}
|