desktop/sintel/PKGBUILD

33 lines
1.1 KiB
Bash
Raw Normal View History

2012-07-12 05:47:32 +08:00
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# Contributor: Moritz Kiefer <moritz.kiefer@gmail.com>
pkgname=sintel
pkgver=alpha_1.1
pkgrel=1
pkgdesc="Sintel The Game is a video game adaptation of the Blender Foundations 3rd open film Sintel"
arch=('i686' 'x86_64')
url="http://www.sintelgame.org"
screenshot="http://sintelgame.org/wp-content/uploads/screenshots/garway_docks.png"
license=('GPL2' 'CCPL-by-sa')
depends=('blender')
source=("http://download.sintelgame.org/sintel_the_game_${pkgver}.zip")
md5sums=('305538a7da4414a0b2cfcd1da5795de0')
package () {
cd "${srcdir}/sintel_the_game_alpha/sintelthegame"
# Install data files.
install -d ${pkgdir}/usr/share/${pkgname}
cp -R * ${pkgdir}/usr/share/${pkgname}
# Install an execution script.
mkdir -p $pkgdir/usr/bin
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "blenderplayer /usr/share/$pkgname/sintel_win/sintel_win.blend" >> $pkgdir/usr/bin/$pkgname
chmod 755 $pkgdir/usr/bin/$pkgname
}