summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulio Campagnolo2020-03-22 15:06:06 -0300
committerJulio Campagnolo2020-03-22 15:06:06 -0300
commit5acf86d6219b1242e7b06cc70f121b593455210a (patch)
treeab789da847f02c3d3f28b109ecf37498aabb225e
downloadaur-5acf86d6219b1242e7b06cc70f121b593455210a.tar.gz
initial commit
-rw-r--r--.SRCINFO28
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD53
-rw-r--r--armorpaint.desktop12
-rw-r--r--armorpaint.pngbin0 -> 4945 bytes
-rw-r--r--armorpaint.sh3
6 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dfecfa9d572
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = armorpaint-git
+ pkgdesc = ArmorPaint is a software for 3D PBR texture painting
+ pkgver = 1209
+ pkgrel = 1
+ url = https://armorpaint.org/
+ arch = i686
+ arch = x86_64
+ license = ZLIB
+ makedepends = git
+ makedepends = nodejs
+ makedepends = clang
+ makedepends = make
+ makedepends = gcc
+ depends = mesa
+ depends = alsa-lib
+ depends = libxinerama
+ depends = gcc-libs
+ source = git+https://github.com/armory3d/armorpaint
+ source = armorpaint.sh
+ source = armorpaint.desktop
+ source = armorpaint.png
+ md5sums = SKIP
+ md5sums = 728cc52bfa9e7b16390459e7a80fad16
+ md5sums = dd5d97aadd39966ff7d9dda68b5ae29a
+ md5sums = 67cf4a0cb08c66c4a68c677885e8ac99
+
+pkgname = armorpaint-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..16bc8759b32
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+armorpaint
+pkg
+src
+*.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2577c4a8c9f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Julio Campagnolo <juliocampagnolo@gmail.com>
+
+pkgname=('armorpaint-git')
+_pkgname='armorpaint'
+pkgver=1209
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="ArmorPaint is a software for 3D PBR texture painting"
+url="https://armorpaint.org/"
+license=('ZLIB')
+depends=('mesa' 'alsa-lib' 'libxinerama' 'gcc-libs')
+makedepends=('git' 'nodejs' 'clang' 'make' 'gcc')
+source=("git+https://github.com/armory3d/armorpaint"
+ "armorpaint.sh"
+ "armorpaint.desktop"
+ "armorpaint.png")
+md5sums=(SKIP
+ "728cc52bfa9e7b16390459e7a80fad16"
+ "dd5d97aadd39966ff7d9dda68b5ae29a"
+ "67cf4a0cb08c66c4a68c677885e8ac99")
+
+pkgver() {
+ cd ${srcdir}/${_pkgname}
+ git rev-list --count HEAD
+}
+
+prepare() {
+ cd ${srcdir}/${_pkgname}
+ git submodule update --init --recursive
+}
+
+build() {
+ cd "$srcdir/${_pkgname}"
+ node Kromx/make -g opengl
+ cd Kromx
+ node Kinc/make -g opengl --compiler clang --compile
+ cd Deployment
+ strip Krom
+}
+
+package() {
+ cd "$srcdir"/"$_pkgname"
+ mkdir -p ${pkgdir}/usr/{bin,share,lib}
+ mkdir -p ${pkgdir}/usr/lib/armorpaint
+ install -Dm755 ${srcdir}/armorpaint.sh ${pkgdir}/usr/bin/armorpaint
+ install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm755 "Kromx/Deployment/Krom" ${pkgdir}/usr/lib/armorpaint/
+ install -Dm644 ${srcdir}/armorpaint.desktop ${pkgdir}/usr/share/applications/armorpaint.desktop
+ mkdir -p ${pkgdir}/usr/share/armorpaint
+ cp -r build/krom ${pkgdir}/usr/share/armorpaint/krom
+ install -Dm644 ${srcdir}/armorpaint.png ${pkgdir}/usr/share/icons/armorpaint.png
+}
diff --git a/armorpaint.desktop b/armorpaint.desktop
new file mode 100644
index 00000000000..4d7a505d9cb
--- /dev/null
+++ b/armorpaint.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=armorpaint
+Comment=ArmorPaint is a software for 3D PBR texture painting
+TryExec=armorpaint
+Exec=armorpaint
+Icon=armorpaint
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+Categories=Graphics;3DGraphics;
diff --git a/armorpaint.png b/armorpaint.png
new file mode 100644
index 00000000000..0f662078361
--- /dev/null
+++ b/armorpaint.png
Binary files differ
diff --git a/armorpaint.sh b/armorpaint.sh
new file mode 100644
index 00000000000..0707725128d
--- /dev/null
+++ b/armorpaint.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+/usr/lib/armorpaint/Krom /usr/share/armorpaint/krom