diff --git a/games/Makefile b/games/Makefile --- a/games/Makefile +++ b/games/Makefile @@ -857,6 +857,7 @@ SUBDIR += rubygem-fortune_gem SUBDIR += rubygem-lolcat SUBDIR += rubygem-vimgolf + SUBDIR += runelite SUBDIR += sampsvr SUBDIR += sarien SUBDIR += sauerbraten diff --git a/games/runelite/Makefile b/games/runelite/Makefile new file mode 100644 --- /dev/null +++ b/games/runelite/Makefile @@ -0,0 +1,48 @@ +# Created by: Alexander Vereeken + +PORTNAME= runelite +PORTVERSION= 2.2.0 +CATEGORIES= games java +MASTER_SITES= https://github.com/runelite/launcher/releases/download/${PORTVERSION}/ \ + https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/appimage/ \ + https://raw.githubusercontent.com/runelite/launcher/${PORTVERSION}/ +DISTFILES= RuneLite.jar \ + runelite.png \ + LICENSE +DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} +EXTRACT_ONLY= + +MAINTAINER= Alexander88207@protonmail.com +COMMENT= Open source Old School RuneScape client + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${DISTDIR}/${DIST_SUBDIR}/LICENSE + +USE_JAVA= yes +JAVA_VERSION= 11 + +DESKTOP_ENTRIES="RuneLite" \ + "Old School RuneScape client" \ + "${PREFIX}/share/pixmaps/runelite.png" \ + "${PORTNAME}" \ + "Game;Java;" \ + false + +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/RuneLite.jar \ + ${STAGEDIR}${DATADIR}/RuneLite.jar + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/runelite.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/runelite.png + ${ECHO} "exec /usr/local/openjdk${JAVA_VERSION}/bin/java -jar /usr/local/share/runelite/RuneLite.jar" >> ${WRKDIR}/runelite + ${INSTALL_SCRIPT} ${WRKDIR}/runelite ${STAGEDIR}${PREFIX}/bin + +PLIST_FILES= bin/runelite \ + share/pixmaps/runelite.png \ + share/runelite/RuneLite.jar + +.include diff --git a/games/runelite/distinfo b/games/runelite/distinfo new file mode 100644 --- /dev/null +++ b/games/runelite/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1632943468 +SHA256 (runelite/2.2.0/RuneLite.jar) = e14e9d0f265b17d711370f0d4749adb6401a39a269a9531349edfd431a8f138f +SIZE (runelite/2.2.0/RuneLite.jar) = 2551717 +SHA256 (runelite/2.2.0/runelite.png) = 81cb6ce7d8c4b9154e9840ab9d2938d0e6234f227049f004cacf90724f95cc11 +SIZE (runelite/2.2.0/runelite.png) = 35774 +SHA256 (runelite/2.2.0/LICENSE) = 1487fb5a1804002fd63fe8c01c75258c148fbfa0e2c5d9e97056f9fcd607c0ad +SIZE (runelite/2.2.0/LICENSE) = 1329 diff --git a/games/runelite/pkg-descr b/games/runelite/pkg-descr new file mode 100644 --- /dev/null +++ b/games/runelite/pkg-descr @@ -0,0 +1,3 @@ +Popular free, open-source and super fast client for Old School RuneScape. + +WWW: https://runelite.net