summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-12 11:37:49 +0100
committerSam James <sam@gentoo.org>2022-04-12 11:37:49 +0100
commit96949d94615a3eb4efe76cbb2d1686ea2808dd47 (patch)
treea2dd99c719e79f0d472ddb61dec83dd9cdc38284 /dev-util/cmocka
parentapp-text/wgetpaste: use HTTPS (diff)
downloadgentoo-96949d94615a3eb4efe76cbb2d1686ea2808dd47.tar.gz
gentoo-96949d94615a3eb4efe76cbb2d1686ea2808dd47.tar.bz2
gentoo-96949d94615a3eb4efe76cbb2d1686ea2808dd47.zip
dev-util/cmocka: use ver_cut in SRC_URI
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/cmocka')
-rw-r--r--dev-util/cmocka/cmocka-1.1.5.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/cmocka/cmocka-1.1.5.ebuild b/dev-util/cmocka/cmocka-1.1.5.ebuild
index 23ce594bd892..e16ab06ed23c 100644
--- a/dev-util/cmocka/cmocka-1.1.5.ebuild
+++ b/dev-util/cmocka/cmocka-1.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,7 +8,7 @@ inherit cmake-multilib
DESCRIPTION="Unit testing framework for C"
HOMEPAGE="https://cmocka.org/"
-SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz"
+SRC_URI="https://cmocka.org/files/$(ver_cut 1-2)/${P}.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"