gitweb tarballs without hash in subdir
[shuber-gentoo-overlay.git] / app-backup / sitarba / sitarba-2.2.ebuild
index 1733ea4070f5f2d1c8f01689ed64f0d0a4a7ef8c..7bbd4b6dfc5e02b4156a81bee6ab66e2b1b5e26c 100644 (file)
@@ -5,7 +5,8 @@ EAPI=7
 
 DESCRIPTION="A simple tar-based backup tool"
 HOMEPAGE="https://www.sthu.org/code/sitarba.html"
-SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz -> ${P}.tar.gz"
+SRC_URI="http://git.sthu.org/?p=${PN}.git;a=snapshot;h=refs/tags/v${PV};sf=tgz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-v${PV}"
 
 LICENSE="LGPL-3"
 SLOT="0"
@@ -17,7 +18,6 @@ DEPEND="
        app-arch/tar
        "
 RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}-v${PV}-09e6373"
 
 src_install() {
        dobin sitarba