diff options
Diffstat (limited to 'dev-ml/ojquery/ojquery-0.1.ebuild')
-rw-r--r-- | dev-ml/ojquery/ojquery-0.1.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-ml/ojquery/ojquery-0.1.ebuild b/dev-ml/ojquery/ojquery-0.1.ebuild index c94eccbb5981..123a47477ebb 100644 --- a/dev-ml/ojquery/ojquery-0.1.ebuild +++ b/dev-ml/ojquery/ojquery-0.1.ebuild @@ -7,12 +7,20 @@ EAPI=5 inherit oasis DESCRIPTION="jQuery Binding for Eliom." -HOMEPAGE="jQuery Binding for Eliom." -SRC_URI="https://github.com/ocsigen/ojquery/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://github.com/ocsigen/ojquery" + +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/ocsigen/ojquery" + KEYWORDS="" +else + SRC_URI="https://github.com/ocsigen/ojquery/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi LICENSE="LGPL-3" SLOT="0/${PV}" -KEYWORDS="~amd64" IUSE="" RDEPEND="dev-ml/react:= |