diff options
author | root <root@rshg054.dnsready.net> | 2012-07-23 00:01:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-23 00:01:51 +0000 |
commit | 59475c73370c37becae97edfb8eb2fe4d56ef87f (patch) | |
tree | 74197d2d4fb263937551ef47d3becb39585e8991 /pcr | |
parent | e4d2743138eaca146b1a01a7815facdb3d271d88 (diff) |
Mon Jul 23 00:01:51 UTC 2012
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ryzom-client/PKGBUILD | 41 | ||||
-rw-r--r-- | pcr/ryzom-data/PKGBUILD | 8 | ||||
-rw-r--r-- | pcr/ryzom-nel/PKGBUILD | 52 |
3 files changed, 98 insertions, 3 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 +} diff --git a/pcr/ryzom-data/PKGBUILD b/pcr/ryzom-data/PKGBUILD index 272db5c07..dfb8a116c 100644 --- a/pcr/ryzom-data/PKGBUILD +++ b/pcr/ryzom-data/PKGBUILD @@ -9,9 +9,10 @@ license=('CCPL:by-sa') makedepends=('rsync' 'p7zip-libre') conflicts=('ryzom-data') pkgdesc="An awesome free software 3D MMORPG game. Game data." -source=("http://sourceforge.net/projects/ryzom/files/ryzom_client.7z/download") +source=("http://sourceforge.net/projects/ryzom/files/ryzom_client.7z/download" "updateryzomdata") noextract=("download") -sha256sums=('fa9e44e1014f4ae8639f1ec092391a41f69fc343ce48dd39b55ffae06ec3291f') +sha256sums=('fa9e44e1014f4ae8639f1ec092391a41f69fc343ce48dd39b55ffae06ec3291f' + 'b42f74fd21cdbf6734214e5576dbbe7e4cf171bf5d712011fbea6529bd0123fd') package() { cd "$srcdir/" @@ -33,11 +34,12 @@ package() { # creating directories install -d -m 755 "${pkgdir}/usr/share/ryzom/data/fonts/" + install -d -m 755 "${pkgdir}/etc/cron.d/" # installing files install -m 644 fonts/* "${pkgdir}/usr/share/ryzom/data/fonts/" rm -rf fonts install -m 644 * "${pkgdir}/usr/share/ryzom/data/" + install -m 644 ${srcdir}/updateryzomdata "${pkgdir}/etc/cron.d/" } - diff --git a/pcr/ryzom-nel/PKGBUILD b/pcr/ryzom-nel/PKGBUILD new file mode 100644 index 000000000..aff8ec5e4 --- /dev/null +++ b/pcr/ryzom-nel/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> +pkgname='ryzom-nel' +pkgver=0.8.0 +pkgrel=7 +arch=('x86_64' 'i686') +conflicts=('ryzom-nel') +groups=('ryzom') +options=(!strip) +pkgdesc="An awesome free software 3D MMORPG game, NeL engine" +url="http://www.ryzom.com" +license=('AGPL3') +depends=('freetype2' + 'libx11' + 'mesa' + 'libxxf86vm' + 'openal' + 'freealut' + 'libogg' + 'libvorbis' + 'libxml2' + 'libjpeg' + 'rrdtool' ) +makedepends=('cmake' 'bison' 'kervala_libsquish-hg') + +auser="shackra" +achangeset="3222b96eed75" + +source=("https://bitbucket.org/$auser/ryzom/get/$achangeset.tar.gz") + +build() { + cd "$srcdir/$auser-ryzom-$achangeset/code" + + if [[ -d $pkgname ]]; then + rm -rf $pkgname + mkdir $pkgname + else + mkdir $pkgname + fi + + cd $pkgname + + #CMAKE_USE_RELATIVE_PATHS=true + cmake .. -Wno-dev -DWITH_LIBWWW_STATIC=ON -DWITH_RYZOM=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_NEL=ON -DCMAKE_INSTALL_PREFIX=/usr -DNL_ETC_PREFIX=/etc/nel -DNL_DRIVER_PREFIX=/usr/lib/nel -DNL_SHARE_PREFIX=/usr/share/nel -DNL_BIN_PREFIX=/usr/bin -DNL_SBIN_PREFIX=/usr/sbin -DNL_LIB_PREFIX=/usr/lib/nel -DNL_DRIVER_PREFIX=/usr/lib/nel -DWITH_SYMBOLS=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON + + make -j3 +} + +package() { + cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname" + make DESTDIR="$pkgdir" install +} +sha256sums=('95b5944db8b71b75e95becd8125b0437de5a88691b89e32c1ceb42454a62c568') |