1 # Maintainer: Rikles <style.boubou@gmail.com>
2 # Contributer: Ghost1227 (ghost1227 at archlinux dot us)
6 pkgdesc="A fully fledged free open source multiplayer online adventure game (MORPG) developed using the Arianne game system."
8 url="http://stendhalgame.org/"
10 depends=('java-runtime')
12 source=("http://sourceforge.net/projects/arianne/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.zip")
13 noextract=("${pkgname}-${pkgver}.zip")
14 md5sums=('f798767960fb3021416e57ef26c19003')
17 unzip "${srcdir}/${pkgname}-${pkgver}.zip" -d "${srcdir}/${pkgname}-${pkgver}"
21 cat > "${srcdir}/${pkgname}" <<EOF
23 "\$JAVA_HOME/bin/java" -jar '/opt/${pkgname}/${pkgname}-starter.jar'
26 cat > "${srcdir}/${pkgname}.desktop" <<EOF
31 Comment=A fully fledged free open source multiplayer online adventure game (MORPG) developed using the Arianne game system.
37 mkdir -p "${pkgdir}/opt/${pkgname}"
38 cp -r "${srcdir}/${pkgname}-${pkgver}/"* "${pkgdir}/opt/${pkgname}/"
39 install -D -m 755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
40 install -D -m 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
41 chmod 755 "${pkgdir}/opt/${pkgname}/${pkgname}-starter.jar"