summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2018-09-01 21:22:05 +0200
committerMartin Väth <martin@mvath.de>2018-09-01 21:22:05 +0200
commit7c1e53d4adbc1bdc63beca165419c8a2b765c13b (patch)
tree4061fce78fb3afeeee70ef8d75c038dc25f08c22 /dev-tex/chklref/chklref-2.6.0.ebuild
parentapp-portage/portage-bashrc-mv sys-kernel/kernel: Version bump (diff)
downloadmv-7c1e53d4adbc1bdc63beca165419c8a2b765c13b.tar.gz
mv-7c1e53d4adbc1bdc63beca165419c8a2b765c13b.tar.bz2
mv-7c1e53d4adbc1bdc63beca165419c8a2b765c13b.zip
dev-tex/chklref: Fix URLs. Alpha version bump
Diffstat (limited to 'dev-tex/chklref/chklref-2.6.0.ebuild')
-rw-r--r--dev-tex/chklref/chklref-2.6.0.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-tex/chklref/chklref-2.6.0.ebuild b/dev-tex/chklref/chklref-2.6.0.ebuild
index 47e2dfc7..bd674111 100644
--- a/dev-tex/chklref/chklref-2.6.0.ebuild
+++ b/dev-tex/chklref/chklref-2.6.0.ebuild
@@ -6,8 +6,15 @@ inherit latex-package
RESTRICT="mirror"
DESCRIPTION="Finds useless references in latex files or unnecessarily numbered environments"
-HOMEPAGE="http://www-ljk.imag.fr/membres/Jerome.Lelong/soft/chklref/index.html"
-SRC_URI="http://www-ljk.imag.fr/membres/Jerome.Lelong/soft/chklref/${P}.tar.gz"
+HOMEPAGE="https://github.com/jlelong/chklref/"
+case ${PV} in
+*alpha*)
+ EGIT_COMMIT="23028ecbeff38429d1e91a7e142d2bdc623298d8"
+ SRC_URI="https://github.com/jlelong/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${EGIT_COMMIT}";;
+*)
+ SRC_URI="https://github.com/jlelong/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz";;
+esac
LICENSE="GPL-3"
SLOT="0"
@@ -18,7 +25,8 @@ RDEPEND="virtual/latex-base
dev-lang/perl"
BDEPEND="${RDEPEND}"
-DOCS=( README )
+DOCS=( README.md )
+ver_test "${PV}" -gt 2.6.0 || DOCS=( README )
src_prepare() {
use prefix || sed -i \