From 6a5cf0fdeb0c73e7e632fe3ea592b0d6d5acfba3 Mon Sep 17 00:00:00 2001 From: Shackra Sislock Date: Fri, 12 Jul 2013 22:15:50 -0600 Subject: spliting ryzom PKGBUILD; ryzom-hg-client doesn't build because an issue from libwww, the compiler cannot find some includes --- pcr/ryzom-hg-client/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pcr/ryzom-hg-client/PKGBUILD (limited to 'pcr/ryzom-hg-client') diff --git a/pcr/ryzom-hg-client/PKGBUILD b/pcr/ryzom-hg-client/PKGBUILD new file mode 100644 index 000000000..294e28024 --- /dev/null +++ b/pcr/ryzom-hg-client/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Jorge Araya Navarro +pkgname=ryzom-hg-client +pkgver=20130706 +pkgrel=2 +pkgdesc="An awesome free software 3D MMORPG game, Game client." +arch=('i686' 'x86_64') +url="http://www.ryzom.com/" +license=('AGPL') +groups=("ryzom-hg") +depends=('ryzom-hg-nel' 'expat') +makedepends=('cpptest' 'cmake' 'bison' 'ryzom-hg-nel') +provides=("ryzom-hg-client") +conflicts=("ryzom-hg-client") +replaces=("ryzom-hg-client") +source=("http://repo.parabolagnulinux.org/other/ryzom-$pkgver-$pkgrel-any.src.tar.gz") +sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475') +mksource=("ryzom-$pkgver-${pkgrel}::hg+https://bitbucket.org/ryzomcore") +_CMAKE_COMMON_ARGS=('-DWITH_STATIC=ON' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA51=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=ON') # cmake arguments for server and client + +_CMAKE_CLIENT_ARGS=( '-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' '-DWITH_NEL=OFF') # cmake args for building client + +build() { + mkdir -p "$srcdir/build-client" + cd "$srcdir/build-client" + cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_ARGS[*]} ${_CMAKE_CLIENT_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 +} + +package() { + cd "$srcdir/build-client" + make DESTDIR="$pkgdir" install + install -Dm 644 "$srcdir/ryzom.desktop" "$pkgdir/usr/share/applications/" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3