mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
pkgname=ember
|
|
pkgver=0.7.2
|
|
_mediaver=$pkgver
|
|
pkgrel=1
|
|
pkgdesc="Ember is a 3D client using the OGRE 3d library, valid for WorldForge server."
|
|
arch=('i686' 'x86_64')
|
|
url="http://wiki.worldforge.org/wiki/Ember"
|
|
license=('GPL3')
|
|
depends=('atlas_cpp' 'boost' 'cegui-0.8' 'curl' 'eris' 'freealut' 'libsigc++2.0' 'libwfut' 'mercator' 'ogre' 'openal' 'sdl' 'skstream' 'toluapp' 'varconf' 'wfmath')
|
|
categories=('games')
|
|
source=("http://downloads.sourceforge.net/worldforge/$pkgname-$pkgver.tar.bz2"
|
|
"http://downloads.sourceforge.net/worldforge/$pkgname-media-$_mediaver.tar.bz2")
|
|
md5sums=('5fa2cf860ebe66674d5e5e05c8e87009'
|
|
'fb36fc4770fcea24f0fc839986b786b3')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgbase-$pkgver
|
|
|
|
./configure \
|
|
--enable-cegui-toluapp \
|
|
--prefix=/usr \
|
|
--with-toluaxx
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgbase-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
# Data.
|
|
mkdir -p $pkgdir/usr/share/$pkgname/media/
|
|
cp -R $srcdir/$pkgname-media-$pkgver/media/* $pkgdir/usr/share/$pkgname/media/
|
|
}
|