blob: 397ab8687331da11c6992018ee6416f5b1db526b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
# Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com>
pkgname='ryzom-hg'
#pkgbase="ryzom-hg"
pkgver=20130706
pkgrel="3:1"
options=(debug)
pkgdesc="An awesome free software 3D MMORPG game"
arch=('i686' 'x86_64')
url="http://www.ryzom.com/"
license=('GPL3')
groups=('ryzom-hg')
depends=('curl' 'freetype2' 'libx11' 'mesa' 'libxxf86vm' 'openal' 'freealut' 'libogg' 'libvorbis' 'libxml2' 'libpng' 'libjpeg' 'rrdtool' 'libwww' 'boost' 'luabind' 'libsquish' 'lua51' 'lua51-sql-mysql')
makedepends=('cpptest' 'cmake' 'bison')
# ryzom-20130706-2-any.src.tar.gz
source=("http://repo.parabolagnulinux.org/other/ryzom-20130706-2-any.src.tar.gz"
'ryzom.sh'
'ryzom.desktop')
sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475'
'd3d8286f5b60a63cbda83795cbe1a1d6e1442f33116502cc6563f8db86e458b6'
'722c60ceb198214620b11a0866f458578e1128d39e63274ea8b43c1ed96ff196')
mksource=("$pkgname-$pkgver-${pkgrel}::hg+https://bitbucket.org/ryzomcore")
_CAMAKE_COMMON_ARGS=('-DWITH_STATIC=OFF' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA51=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=ON') # cmake common arguments
_CMAKE_BOTH_ARGS=('-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' '-DWITH_NEL=ON' '-DWITH_DRIVER_OPENGL=ON' '-DWITH_DRIVER_OPENAL=ON')
build() {
mkdir -p "$srcdir/build-both"
cd "$srcdir/build-both"
cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_ARGS[*]} ${_CMAKE_BOTH_ARGS[*]} -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin
make all -j8
}
package() {
cd "$srcdir/build-both"
make DESTDIR="$pkgdir" install
install -Dm 644 "$srcdir/ryzom.desktop" "$pkgdir/usr/share/applications/"
}
|