desktop/sintel/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) 53b42d1b6a Sintel, The Game.
2012-07-11 21:47:32 +00:00

33 lines
1.1 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# 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
}