mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
54 lines
1.8 KiB
Bash
54 lines
1.8 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=blender
|
|
pkgver=2.49b
|
|
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')
|
|
install=blender.install
|
|
source=('blender.desktop')
|
|
md5sums=('b5b9720b9430b1f5e2aa0b2df533fed8')
|
|
|
|
case ${CARCH} in
|
|
i686)
|
|
source=(${source[@]} 'http://video.blendertestbuilds.de/download.blender.org/release/Blender2.49b/blender-2.49b-linux-glibc236-py26-i386.tar.bz2')
|
|
md5sums=(${md5sums[@]} 'f9157c5142fc0638ab2970033b7a91a0');;
|
|
x86_64)
|
|
source=(${source[@]} 'http://video.blendertestbuilds.de/download.blender.org/release/Blender2.49b/blender-2.49b-linux-glibc236-py26-x86_64.tar.bz2')
|
|
md5sums=(${md5sums[@]} '58822737042a0bd220553ac78994722f');;
|
|
esac
|
|
|
|
build() {
|
|
mkdir -p $pkgdir/usr/{share/blender,share/icons/hicolor,bin}
|
|
case ${CARCH} in
|
|
i686)
|
|
cd $srcdir/blender-2.49b-linux-glibc236-py26-i386
|
|
;;
|
|
x86_64)
|
|
cd $srcdir/blender-2.49b-linux-glibc236-py26-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
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|