diff options
author | Kristopher Keller <kristopher004@gmail.com> | 2020-03-28 16:26:23 -0600 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-04-01 17:37:33 +0300 |
commit | e8d672db8ff6df16fc571bb725fceb3d37ad69b0 (patch) | |
tree | 6a29a40482f4b5421a0bed469035f7434237c6c9 /www-client/luakit | |
parent | app-misc/ledit: follow ebuild skel (diff) | |
download | gentoo-e8d672db8ff6df16fc571bb725fceb3d37ad69b0.tar.gz gentoo-e8d672db8ff6df16fc571bb725fceb3d37ad69b0.tar.bz2 gentoo-e8d672db8ff6df16fc571bb725fceb3d37ad69b0.zip |
www-client/luakit: update live ebuild
Add prefix to emake so luakit can find modules and fix various repoman
warnings.
- Bump copyright
- Bump to EAPI 7
- Inherit xdg-utils
- Use https for repo uri
- Add PREFIX to emake in compile phase
- Edit Makefile to install uncompressed man page
- Add xdg functions for desktop file
Closes: https://bugs.gentoo.org/715184
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Kristopher Keller <kristopher004@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15157
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-client/luakit')
-rw-r--r-- | www-client/luakit/luakit-9999.ebuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/www-client/luakit/luakit-9999.ebuild b/www-client/luakit/luakit-9999.ebuild index fb0f02b01087..3f617a46a60c 100644 --- a/www-client/luakit/luakit-9999.ebuild +++ b/www-client/luakit/luakit-9999.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit toolchain-funcs +inherit toolchain-funcs xdg-utils DESCRIPTION="A fast, light, simple to use micro-browser using WebKit and Lua" HOMEPAGE="https://luakit.github.io/luakit" if [[ ${PV} == 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="git://github.com/luakit/luakit.git" + EGIT_REPO_URI="https://github.com/luakit/luakit.git" else SRC_URI="https://github.com/luakit/luakit/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" @@ -43,6 +43,7 @@ src_compile() { CC=$(tc-getCC) \ LUA_PKG_NAME=$(usex luajit 'luajit' 'lua') \ LUA_BIN_NAME=$(usex luajit 'luajit' 'lua') \ + PREFIX="${EPREFIX}/usr" \ all use doc && emake doc @@ -55,6 +56,8 @@ src_test() { } src_install() { + sed -i 's/install -m644 luakit.1.gz/install -m644 luakit.1/g' Makefile || die + emake \ DESTDIR="${D}" \ PREFIX="${EPREFIX}/usr" \ @@ -66,3 +69,9 @@ src_install() { use doc && dodoc -r doc/html } + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} |