diff --git a/gui-apps/wofi/wofi-1.1.1.ebuild b/gui-apps/wofi/wofi-1.1.1.ebuild index 791e0d6fca..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-1.1.1.ebuild +++ b/gui-apps/wofi/wofi-1.1.1.ebuild @@ -3,20 +3,21 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="" diff --git a/gui-apps/wofi/wofi-1.1.2.ebuild b/gui-apps/wofi/wofi-1.1.2.ebuild index 791e0d6fca..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-1.1.2.ebuild +++ b/gui-apps/wofi/wofi-1.1.2.ebuild @@ -3,20 +3,21 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="" diff --git a/gui-apps/wofi/wofi-9999.ebuild b/gui-apps/wofi/wofi-9999.ebuild index d9a1fc7dc7..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-9999.ebuild +++ b/gui-apps/wofi/wofi-9999.ebuild @@ -3,16 +3,17 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}"