summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd5e7024e40463cc185dd1dbbf7f37a1d94d16ed (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
# Maintainer: Oscar Morante <spacepluk@gmail.com>
pkgname=substance-designer
pkgver=5.5.3
pkgrel=1
pkgdesc="Substance Designer is a node-based non-destructive application for material authoring."
arch=('x86_64')
url='https://www.allegorithmic.com/products/substance-designer'
license=('custom')
depends=('fontconfig' 'gcc-libs-multilib' 'glu' 'hicolor-icon-theme' 'libtiff4')
options=('!strip')
source=('https://alg-releases.s3.amazonaws.com/public_releases/substance-designer/5.x/Substance_Designer-5.5.3-1.el6.standard.full.x86_64.rpm'
        'substance-designer-icon.png'
        'substance-designer.desktop'
        'substance-designer')
noextract=()
md5sums=('b88e75999855494319b5cf81f8cd9223'
         '6cbffe7041d82640a39132d8b0dbb11a'
         'c58b3078d344453b2198d3ba5946bf71'
         '55a27095415c1e013649186c1a84228a')
validpgpkeys=()

package() {
  mkdir -p ${pkgdir}/opt/Allegorithmic
  mv ${srcdir}/opt/Allegorithmic/Substance_Designer ${pkgdir}/opt/Allegorithmic

  install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Designer/eula.txt \
                 ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt
  rm ${pkgdir}/opt/Allegorithmic/Substance_Designer/eula.txt

  install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-designer.desktop"
  install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-designer-icon.png"
  install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-designer"
}