diff options
author | Shackra Sislock <none@none> | 2012-08-03 20:51:29 -0600 |
---|---|---|
committer | Shackra Sislock <none@none> | 2012-08-03 20:51:29 -0600 |
commit | 08bdaeb91515babbff9e919d3e5aed162cbc214e (patch) | |
tree | d579b925e5ea116f60ea3e1df618f54654ff6039 | |
parent | 079b0dea59fd8948c1e85639de7221a07b239929 (diff) | |
download | abslibre-08bdaeb91515babbff9e919d3e5aed162cbc214e.tar.gz abslibre-08bdaeb91515babbff9e919d3e5aed162cbc214e.tar.bz2 abslibre-08bdaeb91515babbff9e919d3e5aed162cbc214e.zip |
re adding ryzom-* PKGBUILDs
-rw-r--r-- | pcr/ryzom-client/PKGBUILD | 42 | ||||
-rw-r--r-- | pcr/ryzom-nel/PKGBUILD | 53 |
2 files changed, 95 insertions, 0 deletions
diff --git a/pcr/ryzom-client/PKGBUILD b/pcr/ryzom-client/PKGBUILD new file mode 100644 index 000000000..dbcd531f4 --- /dev/null +++ b/pcr/ryzom-client/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> +pkgname=('ryzom-client') +pkgver=0.8.0 +pkgrel=7 +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 + + make -j3 +} + +package() { + cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname" + make DESTDIR="$pkgdir" install +} + +sha256sums=('0abcf7daa01dab27a3b9a9276e521369693963be3a25624b3195023495212bc2') diff --git a/pcr/ryzom-nel/PKGBUILD b/pcr/ryzom-nel/PKGBUILD new file mode 100644 index 000000000..b45bef098 --- /dev/null +++ b/pcr/ryzom-nel/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> +pkgname='ryzom-nel' +pkgver=0.8.0 +pkgrel=11 +arch=('x86_64' 'i686') +conflicts=('ryzom-nel') +groups=('ryzom') + +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' 'kervalasquish-hg') + +auser="shackra" +achangeset="56d1642e24ac" + +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_RYZOM=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 + + make -j3 +} + +package() { + cd "$srcdir/$auser-ryzom-$achangeset/code/$pkgname" + make DESTDIR="$pkgdir" install +} + +sha256sums=('0abcf7daa01dab27a3b9a9276e521369693963be3a25624b3195023495212bc2') |