mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
#
|
||
# 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 Foundation’s 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
|
||
}
|
||
|