summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-02-26 17:49:16 +0100
committerSebastian Pipping <sping@gentoo.org>2021-02-26 18:07:15 +0100
commit7a2fe44522378555c700f412c4827b4979459812 (patch)
treef49bc59e0af0d3148d8ed90e2ca50946e4982678 /x11-misc/screen-message/screen-message-0.26.ebuild
parentsys-boot/mokutil: bump (diff)
downloadgentoo-7a2fe44522378555c700f412c4827b4979459812.tar.gz
gentoo-7a2fe44522378555c700f412c4827b4979459812.tar.bz2
gentoo-7a2fe44522378555c700f412c4827b4979459812.zip
x11-misc/screen-message: 0.26 + EAPI 7 + xdg
Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'x11-misc/screen-message/screen-message-0.26.ebuild')
-rw-r--r--x11-misc/screen-message/screen-message-0.26.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-misc/screen-message/screen-message-0.26.ebuild b/x11-misc/screen-message/screen-message-0.26.ebuild
new file mode 100644
index 000000000000..a68ba782d880
--- /dev/null
+++ b/x11-misc/screen-message/screen-message-0.26.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit xdg
+
+DESCRIPTION="Display a multi-line message large, fullscreen, black on white"
+HOMEPAGE="http://www.joachim-breitner.de/projects#screen-message"
+SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3
+ x11-libs/cairo
+ >=x11-libs/pango-1.16"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ default
+
+ # It's not a game so let's make it *not* end up /usr/games
+ dodir /usr/bin
+ mv "${D}"/usr/{games,bin}/sm || die
+ rmdir "${D}"/usr/games || die
+ sed 's|^Exec=/usr/games/sm|Exec=/usr/bin/sm|' \
+ -i "${D}"/usr/share/applications/sm.desktop || die
+}