summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 00:50:04 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-08-27 01:08:25 -0700
commit2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d (patch)
tree3de5b59cd1df3d586420821887335002fde891ce /sys-fs/zfs
parentmedia-plugins/swh-plugins: bump to 0.4.17 (diff)
downloadgentoo-2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d.tar.gz
gentoo-2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d.tar.bz2
gentoo-2b6f803e4f4e2993ee91f1f32ae9efe0b8ead47d.zip
sys-fs/zfs: update live ebuild, add rc version handling
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r--sys-fs/zfs/zfs-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index 032c65ef8007..55317293ed4b 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -15,8 +15,10 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3 linux-mod
EGIT_REPO_URI="https://github.com/openzfs/zfs.git"
else
- SRC_URI="https://github.com/openzfs/${PN}/releases/download/${P}/${P}.tar.gz"
+ MY_P="${P/_rc/-rc}"
+ SRC_URI="https://github.com/openzfs/${PN}/releases/download/${MY_P}/${MY_P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~ppc64"
+ S="${WORKDIR}/${P%_rc?}"
fi
LICENSE="BSD-2 CDDL MIT"