diff options
-rw-r--r-- | pcr/ryzom-data/PKGBUILD | 46 | ||||
-rw-r--r-- | pcr/ryzom-data/ryzom-data.install | 19 | ||||
-rwxr-xr-x | pcr/ryzom-data/ryzomdata-update.sh | 22 | ||||
-rw-r--r-- | pcr/ryzom-hg/PKGBUILD | 59 | ||||
-rw-r--r-- | pcr/ryzom-hg/ryzom.desktop | 11 |
5 files changed, 0 insertions, 157 deletions
diff --git a/pcr/ryzom-data/PKGBUILD b/pcr/ryzom-data/PKGBUILD deleted file mode 100644 index 2665cc411..000000000 --- a/pcr/ryzom-data/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Mantainer: Jorge Araya Navarro <elcorreo@deshackra.com> -pkgname='ryzom-data' -group='ryzom' -pkgver=0.8.0 -pkgrel=2 -arch=('any') -url="http://media.ryzom.com/" -license=('CCPL:by-sa') -depends=('rsync') -makedepends=('p7zip') -pkgdesc="An awesome free software 3D MMORPG game. Game data." -source=("http://tempestintheaether.org/public_downloads/ryzom_core_client-data-22-09-2013.7z" "ryzomdata-update.sh") -sha256sums=('f1110efb49bfb733f290ab5136986036a9f61fb692802714d9e6ec9b7e08f3ec' - '116c1c6bfe92bb55a6abf8401c290ef1505781a1cd76f67eb180f781f2034219') -noextract=("ryzom_core_client-data-22-09-2013.7z") -install=${pkgname}.install - -prepare() { - cd "$srcdir/" - - msg "Extracting game data..." - 7z x ryzom_core_client-data-22-09-2013.7z data/ >& /dev/null - msg "Extraction completed!" - - cd "$srcdir/data/" - msg "Updating the official Ryzom game data, this can take a while..." - rsync -rtzvu --progress --stats --recursive --timeout=30 www.ryzom.com::ryzom/data/ ./ - msg 'Update completed!' -} - -package() { - cd "$srcdir/data/" - # creating directories - install -d -m 755 "$pkgdir/usr/bin/" - install -d -m 755 "$pkgdir/usr/share/ryzom/data/" - install -d -m 755 "${pkgdir}/usr/share/ryzom/data/fonts/" - - install -m 644 "$srcdir/ryzomdata-update.sh" "$pkgdir/usr/bin/" - chmod +x "$pkgdir/usr/bin/ryzomdata-update.sh" - - # installing files - install -m 644 fonts/* "${pkgdir}/usr/share/ryzom/data/fonts/" - rm -rf fonts - - install -m 644 * "${pkgdir}/usr/share/ryzom/data/" -} diff --git a/pcr/ryzom-data/ryzom-data.install b/pcr/ryzom-data/ryzom-data.install deleted file mode 100644 index 97fb2df21..000000000 --- a/pcr/ryzom-data/ryzom-data.install +++ /dev/null @@ -1,19 +0,0 @@ -pre_install() { - cat <<EOM - == IMPORTANT NOTICE == - - Check for data updates regularly using the command 'ryzomdata-update.sh'. - If you encounter any bug using that script, please report it (see links below) - and assign your report to shackra (which is me, the actual package maintainer). - - Report any bug on: - * https://labs.parabola.nu -EOM -} - -pre_upgrade() { - pre_install -} - -# vim:set ts=2 sw=2 et: -# PS: vim sucks, Attn: Shackra, an EMACS user. diff --git a/pcr/ryzom-data/ryzomdata-update.sh b/pcr/ryzom-data/ryzomdata-update.sh deleted file mode 100755 index ff59cf779..000000000 --- a/pcr/ryzom-data/ryzomdata-update.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/sh -# To the extent possible under law, Jorge Araya Navarro has waived all copyright and related or -# neighboring rights to ryzomdata-update.sh. This work is published from: Costa Rica. - -error() { - printf '\E[31m'; echo "$@"; printf '\E[0m' -} - -if [[ $(id -u) -ne 0 ]] ; then - error "Please run as root" ; - exit 1 ; -fi - -# if running as root, then start the update. -if [ -d "/usr/share/ryzom/data/" ]; then - cd /usr/share/ryzom/data - msg "Updating the official Ryzom game data, this can take a while..." - rsync -rtzvu --progress --stats --recursive --timeout=30 www.ryzom.com::ryzom/data/ ./ - msg 'Update completed...' -else - error "Seems that /usr/share/ryzom/data does not exists. Please install ryzom-data package using pacman." -fi diff --git a/pcr/ryzom-hg/PKGBUILD b/pcr/ryzom-hg/PKGBUILD deleted file mode 100644 index b654280c4..000000000 --- a/pcr/ryzom-hg/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Maintainer: Jorge Araya Navarro <elcorreo@deshackra.com> -# Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com> - -pkgname='ryzom-hg' -hgver=e7f0b9c -pkgver=20140328 -pkgrel=1 -pkgdesc="An awesome free software 3D MMORPG game" -arch=('i686' 'x86_64' 'mips64el') -url="http://www.ryzom.com/" -license=('AGPL3') -#depends=('nel-hg' 'ryzom-data' 'lua51') # use these when https://bitbucket.org/ryzom/ryzomcore/issue/149 is solved -depends=('libpng' 'libjpeg' 'libwww-hg' 'boost' 'freetype2' 'luabind' 'libogg' 'libvorbis' - 'openal' 'mesa' 'glu' 'lua51' 'ryzom-data') -#conflicts=('ryzom' 'ryzom-client') # see above -conflicts=('ryzom' 'ryzom-client' 'nel-hg' 'ryzom-nel') -makedepends=('mercurial' 'cpptest' 'cmake' 'bison' 'boost' 'rrdtool') -source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz") -sha256sums=('fce7d94f1c55afd939ab4943af6480b0d20d4f74f5d357029777f84ac661f869') - -mksource=("$pkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision=${hgver}") -mkdepends=('mercurial') - -mksource() { - cd "$srcdir/$pkgname-$pkgver/" - rm -rf .hg* - cd "$srcdir/$pkgname-$pkgver/code/" - mv * ../ - rm -rf "$srcdir/$pkgname-$pkgver/code/" - #sed -i 's|<freetype/|<freetype2/|g' "${srcdir}/${srcpkgname}-${pkgver}/nel/src/3d/font_generator.cpp" -} - -build() { - mkdir -p "$srcdir/build-client" - cd "$srcdir/build-client" - # WITH_NEL is ON, see above - cmake -Wno-dev "$srcdir/${pkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -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 -DFREETYPE_INCLUDE_DIRS="/usr/include;/usr/include/freetype2" - - # cmake -Wno-dev "$srcdir/${pkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=OFF -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -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 -DLUA_INCLUDE_DIR="/usr/include/lua5.1/" -DLIBWWW_INCLUDE_DIR="/usr/include/w3c-libwww/" - - make -j1 all -} - -package() { - cd "$srcdir/build-client" - make DESTDIR="$pkgdir" install - cd "$pkgdir/etc/ryzom/" - # instead of the open shard, we point to the actual ryzom shard. - # this cannot be on prepare(), I tried that already and didn't work - sed -i 's|"ryzom_open"|"ryzom_live"|g' client_default.cfg - sed -i 's|PatchServer = "";|PatchServer = "http://dl.ryzom.com/patch_live";|g' client_default.cfg - sed -i 's|SignUpURL = "";|SignUpURL = "http://www.ryzom.com/subscribe";|g' client_default.cfg - sed -i 's|"open.ryzom.com:40916";|"shard.ryzom.com:40916";|g' client_default.cfg - sed -i 's|CreateAccountURL = "";|CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";|g' client_default.cfg - sed -i 's|InstallWebPage = "";|InstallWebPage = "http://dl.ryzom.com/installer/";|g' client_default.cfg - sed -i 's|"http://open.ryzom.com:50000/stats/stats.php";|"http://shard.ryzom.com:50000/stats/stats.php";|g' client_default.cfg - sed -i 's|atys.|app.|g' client_default.cfg - sed -i 's|"app.ryzom.com" |"api.ryzom.com", "app.ryzom.com" |g' client_default.cfg -} diff --git a/pcr/ryzom-hg/ryzom.desktop b/pcr/ryzom-hg/ryzom.desktop deleted file mode 100644 index d90063593..000000000 --- a/pcr/ryzom-hg/ryzom.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=Ryzom -Type=Application -GenericName=ryzom -Comment=Ryzom -Exec=/usr/bin/ryzom -Icon=/usr/share/ryzom/data/ryzom.png -Terminal=false -Hidden=false -Categories=Game;RolePlaying; |