diff options
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 53 | ||||
-rw-r--r-- | armorpaint.desktop | 12 | ||||
-rw-r--r-- | armorpaint.png | bin | 0 -> 4945 bytes | |||
-rw-r--r-- | armorpaint.sh | 3 |
6 files changed, 100 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dfecfa9d572d --- /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 000000000000..16bc8759b325 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +armorpaint +pkg +src +*.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2577c4a8c9fd --- /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 000000000000..4d7a505d9cb8 --- /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 Binary files differnew file mode 100644 index 000000000000..0f6620783612 --- /dev/null +++ b/armorpaint.png diff --git a/armorpaint.sh b/armorpaint.sh new file mode 100644 index 000000000000..0707725128d9 --- /dev/null +++ b/armorpaint.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/usr/lib/armorpaint/Krom /usr/share/armorpaint/krom |