summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Morante2016-07-31 11:49:22 +0300
committerOscar Morante2016-07-31 11:49:47 +0300
commit7001b3a09e21c44bda9a42aad19cec97fc7958da (patch)
treecaed77a2fd71baa70d1dc75bd1258c753fbbc4f7
downloadaur-7001b3a09e21c44bda9a42aad19cec97fc7958da.tar.gz
first commit
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD41
-rw-r--r--substance-painter7
-rw-r--r--substance-painter-icon.pngbin0 -> 29406 bytes
-rw-r--r--substance-painter.desktop10
5 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96d6e7bb12b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Sun Jul 31 08:49:28 UTC 2016
+pkgbase = substance-painter
+ pkgdesc = Substance Painter is a 3D painting software allowing you to texture, render and share your work.
+ pkgver = 2.2.0
+ pkgrel = 1
+ url = https://www.allegorithmic.com/products/substance-painter
+ arch = x86_64
+ license = custom
+ makedepends = pkgextract
+ depends = fontconfig
+ depends = gcc-libs-multilib
+ depends = glu
+ depends = hicolor-icon-theme
+ depends = libtiff3
+ options = !strip
+ source = https://alg-releases.s3.amazonaws.com/public_releases/substance-painter/2.x/Substance_Painter_2-2.2.0-1.el6.standard.full.x86_64.rpm
+ source = substance-painter-icon.png
+ source = substance-painter.desktop
+ source = substance-painter
+ md5sums = 4baa9b83e0407dc349e3a95b33c081e5
+ md5sums = d5715b07d3b99cc2083b9e09f9f3fb20
+ md5sums = 1692487754dc28788c30f7d7d469a1dd
+ md5sums = 2f33ebbfed213eb3e692e5f366af526e
+
+pkgname = substance-painter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..50064c876ce
--- /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-painter
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Substance Painter is a 3D painting software allowing you to texture, render and share your work."
+arch=('x86_64')
+url='https://www.allegorithmic.com/products/substance-painter'
+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-painter/2.x/Substance_Painter_2-2.2.0-1.el6.standard.full.x86_64.rpm'
+ 'substance-painter-icon.png'
+ 'substance-painter.desktop'
+ 'substance-painter')
+noextract=()
+md5sums=('4baa9b83e0407dc349e3a95b33c081e5'
+ 'd5715b07d3b99cc2083b9e09f9f3fb20'
+ '1692487754dc28788c30f7d7d469a1dd'
+ '2f33ebbfed213eb3e692e5f366af526e')
+validpgpkeys=()
+
+package() {
+ mkdir -p ${pkgdir}/opt/Allegorithmic
+ mv ${srcdir}/opt/Allegorithmic/Substance_Painter_2 ${pkgdir}/opt/Allegorithmic
+
+ install -Dm644 ${pkgdir}/opt/Allegorithmic/Substance_Painter_2/eula.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt
+ rm ${pkgdir}/opt/Allegorithmic/Substance_Painter_2/eula.txt
+
+ install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/substance-painter.desktop"
+ install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/substance-painter-icon.png"
+ install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/substance-painter"
+}
+
diff --git a/substance-painter b/substance-painter
new file mode 100644
index 00000000000..e6d81d33346
--- /dev/null
+++ b/substance-painter
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+#export QT_SCALE_FACTOR=0.75
+
+#exec primusrun /opt/Allegorithmic/Substance_Painter_2/Substance\ Painter\ 2 "$@"
+exec /opt/Allegorithmic/Substance_Painter_2/Substance\ Painter\ 2 "$@"
+
diff --git a/substance-painter-icon.png b/substance-painter-icon.png
new file mode 100644
index 00000000000..fb191f7186d
--- /dev/null
+++ b/substance-painter-icon.png
Binary files differ
diff --git a/substance-painter.desktop b/substance-painter.desktop
new file mode 100644
index 00000000000..1c5b34b6741
--- /dev/null
+++ b/substance-painter.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=2.2.0
+Name=Substance Painter 2
+Exec=/usr/bin/substance-painter
+Icon=substance-painter-icon
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Utility;Application;
+