Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Contributor: Mikael Eriksson <mikael_eriksson@miffe.org>
- pkgname=blender2.5a2
- pkgver=2.5a2
- pkgrel=2
- pkgdesc="A fully integrated 3D graphics creation suite (binary version)"
- arch=('i686' 'x86_64')
- url="http://blender.org/"
- license=('GPL')
- depends=('libgl' 'libjpeg6' 'libx11' 'libxau' 'libxcb' 'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxi' 'libxxf86vm' 'python' 'sdl' 'zlib')
- makedepends=('librsvg')
- provides=('blender')
- conflicts=('blender')
- install=blender.install
- source=('blender.desktop')
- md5sums=('b5b9720b9430b1f5e2aa0b2df533fed8')
- case ${CARCH} in
- i686)
- source=(${source[@]} 'http://download.blender.org/release//Blender2.50alpha/blender-2.5-alpha2-linux-glibc27-i686.tar.bz2')
- md5sums=(${md5sums[@]} '5bf40601c7077e0b2c4bc1ab70acdde9')
- ;;
- x86_64)
- source=(${source[@]} 'http://download.blender.org/release//Blender2.50alpha/blender-2.5-alpha2-linux-glibc27-x86_64.tar.bz2')
- md5sums=(${md5sums[@]} 'd24958bc594fc7d16018de74481b0c2a')
- ;;
- esac
- build() {
- mkdir -p $pkgdir/usr/{share/blender,share/icons/hicolor,bin}
- case ${CARCH} in
- i686)
- cd $srcdir/blender-2.5-alpha2-linux-glibc27-i686
- ;;
- x86_64)
- cd $srcdir/blender-2.5-alpha2-linux-glibc27-x86_64
- ;;
- esac
- cp -r .blender/locale $pkgdir/usr/share
- cp -r .blender/scripts $pkgdir/usr/share/blender
- cp -r icons/* $pkgdir/usr/share/icons/hicolor
- cp blender $pkgdir/usr/bin
- cp blenderplayer $pkgdir/usr/bin
- # stolen from blender in extra
- install -Dm644 $srcdir/blender.desktop $pkgdir/usr/share/applications/blender.desktop
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement