diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-11-06 13:38:32 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-11-06 13:38:43 +0100 |
commit | 056e71b2a4d598195715eb5930a8ab92bd3f48aa (patch) | |
tree | 3d1062ad17ae68f691fbc666b8daea78231d9cc0 /x11-misc/xosview | |
parent | kde-frameworks/kdelibs: Stable 4.14.37 (diff) | |
download | gentoo-056e71b2a4d598195715eb5930a8ab92bd3f48aa.tar.gz gentoo-056e71b2a4d598195715eb5930a8ab92bd3f48aa.tar.bz2 gentoo-056e71b2a4d598195715eb5930a8ab92bd3f48aa.zip |
x11-misc/xosview: Revbump to install some more files.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'x11-misc/xosview')
-rw-r--r-- | x11-misc/xosview/xosview-1.20-r1.ebuild (renamed from x11-misc/xosview/xosview-1.20.ebuild) | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/x11-misc/xosview/xosview-1.20.ebuild b/x11-misc/xosview/xosview-1.20-r1.ebuild index 76ba156e04dd..f342c4311c82 100644 --- a/x11-misc/xosview/xosview-1.20.ebuild +++ b/x11-misc/xosview/xosview-1.20-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs xdg-utils DESCRIPTION="X11 operating system viewer" HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" @@ -22,6 +22,8 @@ RDEPEND="${COMMON_DEPS} DEPEND="${COMMON_DEPS} x11-proto/xproto" +DOCS=( CHANGES README.linux TODO ) + src_prepare() { default @@ -35,17 +37,21 @@ src_compile() { } src_install() { - dobin ${PN} + emake PREFIX="${D%/}/usr" install use suid && fperms 4755 /usr/bin/${PN} insinto /usr/share/X11/app-defaults newins Xdefaults XOsview - doman *.1 - dodoc CHANGES README.linux TODO } pkg_postinst() { + xdg_desktop_database_update + if ! use suid ; then ewarn "If you want to use serial meters ${PN} needs to be executed as root." ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." fi } + +pkg_postrm() { + xdg_desktop_database_update +} |