From 9618914c26ce59afef6dff56c5d2468eb5653ebe Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Sun, 21 Jul 2013 21:27:41 -0300 Subject: blender-addon-ogre: add pkg to pcr repo --- pcr/blender-addon-ogre/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/blender-addon-ogre/PKGBUILD (limited to 'pcr/blender-addon-ogre/PKGBUILD') diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD new file mode 100644 index 000000000..8c837e039 --- /dev/null +++ b/pcr/blender-addon-ogre/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Márcio Silva + +_bldname=blender +_bldver=2.68 +_bldep=10 + +_pkgname=ogre +pkgname=$_bldname-addon-$_pkgname +pkgver=0.6.0 +pkgrel=1 +pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to scene, mesh, material and skeleton ${pkgbase^}3D format (built for the $_bldname-libre package)" +arch=any +url=https://code.google.com/p/blender2ogre +license=LGPL2.1 +depends=( + "$_bldname-libre>=$(($_bldep-1)):$_bldver" + "$_bldname-libre<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))" +) +source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip +sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712 + +package() { + cd $srcdir + a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname + install -vd $a && cp -va io_export_${_pkgname}DotScene.py $a/__init__.py +} -- cgit v1.2.3 From 06f871bdcfd2c11f067a35d28f926358eb2f6805 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Sun, 21 Jul 2013 21:38:44 -0300 Subject: blender-addon-ogre: fixing type --- pcr/blender-addon-ogre/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr/blender-addon-ogre/PKGBUILD') diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD index 8c837e039..77ae390f6 100644 --- a/pcr/blender-addon-ogre/PKGBUILD +++ b/pcr/blender-addon-ogre/PKGBUILD @@ -8,9 +8,9 @@ _pkgname=ogre pkgname=$_bldname-addon-$_pkgname pkgver=0.6.0 pkgrel=1 -pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to scene, mesh, material and skeleton ${pkgbase^}3D format (built for the $_bldname-libre package)" +pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname-libre package)" arch=any -url=https://code.google.com/p/blender2ogre +url=https://code.google.com/p/${_bldname}2$_pkgname license=LGPL2.1 depends=( "$_bldname-libre>=$(($_bldep-1)):$_bldver" -- cgit v1.2.3 From a38c32c8885668cee07427086da374d1f48712f7 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 2 Aug 2013 01:23:27 -0300 Subject: blender-addon-ogre: fixing pkg --- pcr/blender-addon-ogre/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pcr/blender-addon-ogre/PKGBUILD') diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD index 77ae390f6..4baf8ca39 100644 --- a/pcr/blender-addon-ogre/PKGBUILD +++ b/pcr/blender-addon-ogre/PKGBUILD @@ -2,23 +2,28 @@ _bldname=blender _bldver=2.68 -_bldep=10 +_bldep=9 _pkgname=ogre pkgname=$_bldname-addon-$_pkgname pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname-libre package)" arch=any url=https://code.google.com/p/${_bldname}2$_pkgname license=LGPL2.1 depends=( - "$_bldname-libre>=$(($_bldep-1)):$_bldver" - "$_bldname-libre<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))" + "$_bldname-libre>=$_bldep:$_bldver" + "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))" ) source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712 +prepare() { + msg 'renaming wrong OS name' + sed -i 's|Linux|GNU/Linux|' io_export_${_pkgname}DotScene.py +} + package() { cd $srcdir a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname -- cgit v1.2.3