summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOscar Morante2016-08-26 11:32:00 +0300
committerOscar Morante2016-08-26 11:33:42 +0300
commitd6e72ba8ee115f91690f041201ea2b5f2e14a1f5 (patch)
treeb01c69e2d03f0b8e9831f8ee136a340b94344422 /PKGBUILD
downloadaur-d6e72ba8ee115f91690f041201ea2b5f2e14a1f5.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3b7790fb6f1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=substance-designer
+pkgver=5.5.0
+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' 'libtiff3'
+)
+makedepends=('pkgextract')
+options=('!strip')
+source=('https://alg-releases.s3.amazonaws.com/public_releases/substance-designer/5.x/Substance_Designer-5.5.0-1.el6.standard.full.x86_64.rpm'
+ 'substance-designer-icon.png'
+ 'substance-designer.desktop'
+ 'substance-designer')
+noextract=()
+md5sums=('634772ee767a854200f9f04994e2c667'
+ '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"
+}
+