diff options
-rw-r--r-- | sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild b/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild index e967b953fb59..58780bf5c440 100644 --- a/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild +++ b/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild @@ -3,20 +3,20 @@ EAPI=8 -H=b8456dda4780789e882f5791eb486f295ade4da4 +[[ ${PV} == *_pre20220518 ]] && COMMIT=b8456dda4780789e882f5791eb486f295ade4da4 inherit cmake DESCRIPTION="Generic parser and tools for the BTOR2 format" HOMEPAGE="https://github.com/Boolector/btor2tools/" -if [[ "${PV}" == *9999* ]] ; then +if [[ ${PV} == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/Boolector/${PN}.git" else - SRC_URI="https://github.com/Boolector/${PN}/archive/${H}.tar.gz + SRC_URI="https://github.com/Boolector/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/${PN}-${H} + S="${WORKDIR}"/${PN}-${COMMIT} KEYWORDS="~amd64 ~x86" fi |