dev-libs/girara: redo live ebuild logic
authorMikle Kolyada <zlogene@gentoo.org>
Mon, 8 Oct 2018 08:59:18 +0000 (11:59 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Mon, 8 Oct 2018 08:59:18 +0000 (11:59 +0300)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-libs/girara/girara-0.3.1.ebuild

index 539ec1e49d2fc36748ef3cc4180645ed233595c2..9dea843770b2cbdf3b60c019e6ea2683d6370558 100644 (file)
@@ -7,11 +7,18 @@ inherit meson virtualx
 
 DESCRIPTION="UI library that focuses on simplicity and minimalism"
 HOMEPAGE="https://pwmt.org/projects/girara/"
-SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz"
+
+if [[ ${PV} == *999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
+       EGIT_BRANCH="develop"
+else
+       SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz"
+       KEYWORDS="~amd64 ~arm ~x86"
+fi
 
 LICENSE="ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
 IUSE="doc libnotify test"
 
 RDEPEND="dev-libs/glib:2