summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2018-12-06 13:23:44 +0100
committerbartus2018-12-06 13:23:44 +0100
commit1597a46e41447b8e66fb9d59e9c037d529ea3780 (patch)
tree9fec3324e633615154120ab62eaa76f5dac58386
parentece9125f7074eeed00639a2aaf0c614e1ddf1e01 (diff)
downloadaur-1597a46e41447b8e66fb9d59e9c037d529ea3780.tar.gz
pop version beta3
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD23
2 files changed, 10 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ed3eac0f15..c442ae0e486 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,16 @@
pkgbase = blender-plugin-luxcorerender
pkgdesc = LuxCoreRender exporter plugin for Blender
- pkgver = 2.1.beta2.r275.g8c0faa4
+ pkgver = 2.1.beta3
pkgrel = 1
url = http://www.luxrender.net/
arch = any
license = GPL
- makedepends = git
depends = blender
depends = luxcorerender
conflicts = luxblend25
conflicts = luxblend25-hg
- source = luxcorerender::git+https://github.com/LuxCoreRender/BlendLuxCore.git#tag=blendluxcore_v2.1beta2
- md5sums = SKIP
+ source = https://github.com/LuxCoreRender/BlendLuxCore/archive/blendluxcore_v2.1beta3.tar.gz
+ md5sums = de64a28212719e55386c4721093947c3
pkgname = blender-plugin-luxcorerender
diff --git a/PKGBUILD b/PKGBUILD
index e382937eb54..996413eeae2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,24 @@
-# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
-# Original Maintainer: Micael Dias
+# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
-_fragment="#tag=blendluxcore_v2.1beta2"
-_pkgver=2.1.beta2
_blender=$(pacman -Sddp --print-format %v blender|grep -oP '(?<=\:)[[:digit:]]{1}\.[[:digit:]]{2}(?=\.)')
_name="luxcorerender"
-pkgname=blender-plugin-luxcorerender
-pkgver=2.1.beta2.r275.g8c0faa4
+pkgname=blender-plugin-${_name}
+pkgver=2.1.beta3
pkgrel=1
pkgdesc="LuxCoreRender exporter plugin for Blender"
arch=('any')
url="http://www.luxrender.net/"
license=('GPL')
depends=(blender luxcorerender)
-makedepends=(git)
conflicts=(luxblend25 luxblend25-hg)
-source=("${_name}::git+https://github.com/LuxCoreRender/BlendLuxCore.git${_fragment}")
-md5sums=("SKIP")
-
-pkgver() {
- cd ${srcdir}/${_name}
- printf %s.r%s.g%s $_pkgver $(git rev-list blendluxcore_v2.0..HEAD --count) $(git log --pretty=format:'%h' -n 1)
-}
+source=("https://github.com/LuxCoreRender/BlendLuxCore/archive/blendluxcore_v2.1beta3.tar.gz")
+md5sums=('de64a28212719e55386c4721093947c3')
package() {
- cd ${srcdir}/${_name}
+ cd ${srcdir}/BlendLuxCore-blendluxcore_v2.1beta3/
install -d -m755 ${pkgdir}/usr/share/blender/${_blender}/scripts/addons
- cp -a ${srcdir}/${_name}/ ${pkgdir}/usr/share/blender/${_blender}/scripts/addons
+ cp -a ${srcdir}/BlendLuxCore-blendluxcore_v2.1beta3// ${pkgdir}/usr/share/blender/${_blender}/scripts/addons
# change the search path in exporter so it finds pylux in its new location :(previous solution was much better, what happen to blendlux )
#sed -i 's|from.*import pylux|import pylux|' "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender/outputs/pure_api.py"
for file in `grep -rl import\ pyluxcore ${pkgdir}` ; do sed -i 's/from .* import pyluxcore/import pyluxcore/g' $file; done