diff options
-rw-r--r-- | sci-chemistry/votca-csgapps/votca-csgapps-1.6.4.ebuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/sci-chemistry/votca-csgapps/votca-csgapps-1.6.4.ebuild b/sci-chemistry/votca-csgapps/votca-csgapps-1.6.4.ebuild index 4561252274c4..bc3c61b39c2a 100644 --- a/sci-chemistry/votca-csgapps/votca-csgapps-1.6.4.ebuild +++ b/sci-chemistry/votca-csgapps/votca-csgapps-1.6.4.ebuild @@ -3,21 +3,19 @@ EAPI=7 -CMAKE_MAKEFILE_GENERATOR="ninja" - inherit cmake -if [ "${PV}" != "9999" ]; then +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN/-//}.git" +else SRC_URI="https://github.com/${PN/-//}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86 ~amd64-linux" S="${WORKDIR}/${P#votca-}" -else - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN/-//}.git" fi DESCRIPTION="Extra applications for votca-csg" -HOMEPAGE="http://www.votca.org" +HOMEPAGE="https://www.votca.org/" LICENSE="Apache-2.0" SLOT="0" @@ -25,8 +23,8 @@ IUSE="" RDEPEND=" >=dev-cpp/eigen-3.3 - ~sci-chemistry/${PN%apps}-${PV}" - + ~sci-chemistry/${PN%apps}-${PV} +" DEPEND="${RDEPEND}" DOCS=( README.md ) |