blob: a367aa01a39fe564df29d696eaaf653ecc5ed287 (
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
33
34
35
36
37
38
|
# Maintainer: Oscar Morante <spacepluk@gmail.com>
# Co-maintainer: Dragoon Aethis <dragoon@dragonic.eu>
pkgname=substance-player
pkgver=2019.2.0
_build=2541
pkgrel=1
pkgdesc="PBR material preview, visualization and tweaking software."
arch=('x86_64')
url='https://www.allegorithmic.com/products/substance-player'
license=('custom')
depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4')
options=('!strip')
source=("https://download.allegorithmic.com/substance-player/2019.x/Substance_Player-${pkgver}-${_build}-linux-x64-standard-full.rpm"
'substance-player-icon.png'
'substance-player.desktop'
'substance-player')
sha256sums=('1ada0e32120ee76d899e5a7f00126ac6ee2f6564eb9f18f4b0d5df0c3b622495'
'87d2e879c24a26e63334614b9f1c5d24bfb2eb2b606762b63ce5a2fe6a54345e'
'098fd0e11871c999b2ad2ff236d7ddc4fc857ce82ceffae3f27238a8bbcd3f15'
'f024998986230fe480ea77c62c655e0e468e0b3664dbc0120d865311db19944e')
validpgpkeys=()
package() {
mkdir -p ${pkgdir}/opt/Allegorithmic
mv ${srcdir}/opt/Allegorithmic/Substance_Player ${pkgdir}/opt/Allegorithmic
install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Player/eula.txt \
${pkgdir}/usr/share/licenses/${pkgname}/eula.txt
rm ${pkgdir}/opt/Allegorithmic/Substance_Player/eula.txt
# Workaround for https://forum.substance3d.com/index.php/topic,29285.0.html
rm ${pkgdir}/opt/Allegorithmic/Substance_Player/libfreetype.so.6
install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-player.desktop"
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-player-icon.png"
install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-player"
}
|