summaryrefslogtreecommitdiff
path: root/pcr/ryzom-client/PKGBUILD
blob: 74d999d291359fa6371ddb51b6de7208ae38cc82 (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
42
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
pkgname=('ryzom-client')
pkgver=0.8.0
pkgrel=6
arch=('x86_64' 'i686')
url="http://www.ryzom.com"
license=('AGPL3')
pkgdesc="An awesome free software 3D MMORPG game"
depends=('ryzom-data' 'ryzom-nel' 'luabind')
conflicts=('ryzom-client')
groups=('ryzom')

makedepends=('kervalasquish-hg' 'cmake' 'bison'  
             'lua' 'luabind' 'curl' 'libpng' 'libwww'
             'boost' 'ryzom-nel')

auser="shackra"
achangeset="56d1642e24ac"

source=("https://bitbucket.org/$auser/ryzom/get/$achangeset.tar.gz")

build() {
  cd "$srcdir/$auser-ryzom-$achangeset/code"
  if [[ -d "ryzom-client" ]]; then
     rm -rf "ryzom-client"
     mkdir "ryzom-client"
  else
     mkdir "ryzom-client"
  fi
  
  cd "ryzom-client"
  cmake .. -Wno-dev -DFINAL_VERSION=ON -DWITH_RYZOM_CLIENT=ON -DWITH_LUA51=ON -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_LIBWWW_STATIC=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL=OFF -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 -DWITH_SYMBOLS=ON

  make -j3
}

package() {
  cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname"
  make DESTDIR="$pkgdir" install
}

sha256sums=('0abcf7daa01dab27a3b9a9276e521369693963be3a25624b3195023495212bc2')