summaryrefslogtreecommitdiff
path: root/pcr/ryzom-data/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
commitd0f33415f254cb2fee06fd89f9cfed4535322f37 (patch)
tree66c13d72eac4f0110772b4675231c891334137bc /pcr/ryzom-data/PKGBUILD
parent7e108c74958ec076a3734822f61f145d0d69547f (diff)
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/ryzom-data/PKGBUILD')
-rw-r--r--pcr/ryzom-data/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/pcr/ryzom-data/PKGBUILD b/pcr/ryzom-data/PKGBUILD
deleted file mode 100644
index 9f33a6794..000000000
--- a/pcr/ryzom-data/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Mantainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname='ryzom-data'
-group='ryzom'
-pkgver=0.8.0
-pkgrel=1
-arch=('any')
-url="http://media.ryzom.com/"
-license=('CCPL:by-sa')
-makedepends=('rsync' 'p7zip')
-conflicts=('ryzom-data')
-pkgdesc="An awesome free software 3D MMORPG game. Game data."
-source=("http://sourceforge.net/projects/ryzom/files/ryzom_client.7z/download" "updateryzomdata")
-noextract=("download")
-sha256sums=('fa9e44e1014f4ae8639f1ec092391a41f69fc343ce48dd39b55ffae06ec3291f'
- 'b42f74fd21cdbf6734214e5576dbbe7e4cf171bf5d712011fbea6529bd0123fd')
-
-package() {
- cd "$srcdir/"
-
- if [[ -d "data" ]]; then
- rm -rf data
- fi
-
- mv "download" "ryzom_client.7z"
- msg "Extracting game data..."
- 7z x ryzom_client.7z ryzom/data/ >& /dev/null
- cd 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/ ./ >& /dev/null
- msg 'Update completed...'
-
- cd "$srcdir/ryzom/data"
-
- # 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/"
-}