summaryrefslogtreecommitdiff
path: root/pcr/ryzom-client/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-23 00:01:51 +0000
committerroot <root@rshg054.dnsready.net>2012-07-23 00:01:51 +0000
commit59475c73370c37becae97edfb8eb2fe4d56ef87f (patch)
tree74197d2d4fb263937551ef47d3becb39585e8991 /pcr/ryzom-client/PKGBUILD
parente4d2743138eaca146b1a01a7815facdb3d271d88 (diff)
Mon Jul 23 00:01:51 UTC 2012
Diffstat (limited to 'pcr/ryzom-client/PKGBUILD')
-rw-r--r--pcr/ryzom-client/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/ryzom-client/PKGBUILD b/pcr/ryzom-client/PKGBUILD
new file mode 100644
index 000000000..d3d077d4f
--- /dev/null
+++ b/pcr/ryzom-client/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
+pkgname=('ryzom-client')
+pkgver=0.8.0
+pkgrel=1
+arch=('x86_64' 'i686')
+url="http://www.ryzom.com"
+license=('AGPL3')
+pkgdesc="An awesome free software 3D MMORPG game"
+depends=('ryzom-data' 'ryzom-nel')
+conflicts=('ryzom-client')
+groups=('ryzom')
+options=(!strip)
+makedepends=('kervala_libsquish-hg' 'cmake' 'bison'
+ 'lua' 'luabind' 'curl' 'libpng' 'libwww'
+ 'boost' 'ryzom-nel')
+
+auser="shackra"
+achangeset="3222b96eed75"
+
+source=("https://bitbucket.org/$auser/ryzom/get/$achangeset.tar.gz")
+sha256sums=('95b5944db8b71b75e95becd8125b0437de5a88691b89e32c1ceb42454a62c568')
+
+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
+}