summaryrefslogtreecommitdiff
path: root/pcr/blender-addon-ogre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-07 22:51:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-07 22:51:49 -0300
commitff187677e8369a16bce3a2e385ed9c2db783fc47 (patch)
tree7a2d624d12c8603c4f59ba0a638900ab5cc5787d /pcr/blender-addon-ogre
parent3489099ccccafa9247813668883e49303b161f31 (diff)
parent26c3a692ed6df2f8f0293ab8113c6fc0772318fb (diff)
downloadabslibre-ff187677e8369a16bce3a2e385ed9c2db783fc47.tar.gz
abslibre-ff187677e8369a16bce3a2e385ed9c2db783fc47.tar.bz2
abslibre-ff187677e8369a16bce3a2e385ed9c2db783fc47.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'pcr/blender-addon-ogre')
-rw-r--r--pcr/blender-addon-ogre/PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD
index 6df1b2e34..6dbe466e2 100644
--- a/pcr/blender-addon-ogre/PKGBUILD
+++ b/pcr/blender-addon-ogre/PKGBUILD
@@ -1,23 +1,25 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
+_pkgname=ogre
+_pkgver=0.6.0
+_pkgverM=${_pkgver%.*}
_bldname=blender
_bldver=2.71
_bldep=14
+_srcname=${_bldname}2$_pkgname
-_pkgname=ogre
pkgname=$_bldname-addon-$_pkgname
-pkgver=0.6.0
-pkgrel=6
-pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname package)"
-arch=any
-url=https://code.google.com/p/${_bldname}2$_pkgname
-license=LGPL2.1
-depends=(
- "$_bldname>=$_bldep:$_bldver"
- "$_bldname<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))"
-)
-source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip
-sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712
+pkgver=$_pkgver
+pkgrel=7
+pkgdesc="$_srcname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname package)"
+arch=('any')
+url="https://code.google.com/p/${_bldname}2$_pkgname"
+license=('LGPL2.1')
+depends=("$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))")
+source=("https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip"
+ 'http://www.gnu.org/licenses/lgpl-2.1.txt')
+sha512sums=('15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712'
+ '1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c')
prepare() {
msg 'renaming wrong OS name'
@@ -26,6 +28,10 @@ prepare() {
package() {
cd $srcdir
+
a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname
+ b=$pkgdir/usr/share/licenses/$pkgname
+
install -vd $a && cp -va io_export_${_pkgname}DotScene.py $a/__init__.py
+ install -vd $b && install -vm644 $startdir/lgpl-2.1.txt $b/LGPL-v2.1
}