1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == "9999" ]] ; then
9 EGIT_REPO_URI="git://dev.tty0.ch/btrbk.git"
13 SRC_URI="https://digint.ch/download/btrbk/releases/${P}.tar.xz"
14 KEYWORDS="~amd64 ~arm ~x86"
17 DESCRIPTION="Tool for creating snapshots and remote backups of btrfs subvolumes"
18 HOMEPAGE="https://digint.ch/btrbk/"
23 DEPEND=">=app-text/asciidoc-8.6.0
26 RDEPEND="dev-lang/perl
29 >=sys-fs/btrfs-progs-3.18.2"
32 emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" SYSTEMDDIR="$(systemd_get_systemunitdir)" install
35 if has_version "<${CATEGORY}/${PN}-0.26.0" ; then
36 upgrade_0_26_0_warning="1"
40 if [[ "${upgrade_0_26_0_warning}" == "1" ]]; then
41 ewarn "If you are using raw targets, make sure to run the"
42 ewarn "\"raw_suffix2sidecar\" utility in each target directory."