summaryrefslogtreecommitdiff
path: root/app-emacs/osm/osm-0.13.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/osm/osm-0.13.ebuild')
-rw-r--r--app-emacs/osm/osm-0.13.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/app-emacs/osm/osm-0.13.ebuild b/app-emacs/osm/osm-0.13.ebuild
index e10c84ef5e7f..e18c2dbd3553 100644
--- a/app-emacs/osm/osm-0.13.ebuild
+++ b/app-emacs/osm/osm-0.13.ebuild
@@ -9,12 +9,18 @@ inherit elisp
DESCRIPTION="OpenStreetMap tile-based viewer for GNU Emacs"
HOMEPAGE="https://github.com/minad/osm/"
-SRC_URI="https://github.com/minad/osm/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/minad/${PN}.git"
+else
+ SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
BDEPEND="
>=app-editors/emacs-${NEED_EMACS}:*[jpeg,json,libxml2,png,svg]