diff --git a/srcpkgs/rogue/patches/desktop-icon.patch b/srcpkgs/rogue/patches/desktop-icon.patch new file mode 100644 index 00000000000..7bb78c25c98 --- /dev/null +++ b/srcpkgs/rogue/patches/desktop-icon.patch @@ -0,0 +1,15 @@ +diff --git a/rogue.desktop b/rogue.desktop +index 74f9518..34b02f4 100644 +--- a/rogue.desktop ++++ b/rogue.desktop +@@ -2,9 +2,9 @@ + Encoding=UTF-8 + Name=Rogue + GenericName=Rogue + Comment=The original curses-based adventure game + Exec=rogue +-Icon=rogue.png ++Icon=rogue + Terminal=true + Type=Application + Categories=Game;RolePlaying; diff --git a/srcpkgs/rogue/template b/srcpkgs/rogue/template new file mode 100644 index 00000000000..98ad61b8799 --- /dev/null +++ b/srcpkgs/rogue/template @@ -0,0 +1,19 @@ +# Template file for 'rogue' +pkgname=rogue +version=5.4.4 +revision=1 +build_style=gnu-configure +configure_args="--enable-scorefile=/var/games/rogue/rogue.scr" +makedepends="ncurses-devel" +short_desc="Dungeon crawl game from the 80s" +maintainer="sirkhancision " +license="BSD-3-Clause" +homepage="http://rogue.rogueforge.net/" +distfiles="https://gitlab.com/philhsmith/rogue/-/archive/v${version}/rogue-v${version}.tar.gz" +checksum=df9f837817ceeededb77395ba990d83894f992ed7f534f3baab2ca4a80921b63 + +post_install() { + vinstall rogue.desktop 644 usr/share/applications + vinstall rogue.png 644 usr/share/pixmaps + vlicense LICENSE.TXT +}