blob: 7758cd5183d3e436f6eead4a52e5803866b0f8bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
pkgname=ryzom
pkgver=20130706
pkgrel=2
pkgdesc="An awesome free software 3D MMORPG game"
arch=(any)
url="https://www.ryzom.com/"
license=('AGPL3')
makedepends=('mercurial')
source=("ryzom.sh"
"ryzom.desktop")
_hgroot='https://bitbucket.org/ryzom/ryzomcore'
_hgrepo='ryzomcore'
build() {
cd "$srcdir"
msg "Connecting to Mercurial server...."
if [[ -d "$_hgrepo" ]]; then
cd "$_hgrepo"
hg pull -u
msg "The local files are updated."
else
hg clone "$_hgroot" "$_hgrepo"
fi
msg "Mercurial checkout done or server timeout"
}
package() {
PKGEXT=${SRCEXT}
PKGDEST=${SRCDEST}
cp ${srcdir}/ryzom.sh ${pkgdir}/
cp ${srcdir}/ryzom.desktop ${pkgdir}/
cp -a ${srcdir}/ryzomcore/code ${pkgdir}/
}
sha256sums=('d3d8286f5b60a63cbda83795cbe1a1d6e1442f33116502cc6563f8db86e458b6'
'722c60ceb198214620b11a0866f458578e1128d39e63274ea8b43c1ed96ff196')
|