bupstash: Bump to 0.12.0

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2023-11-10 11:25:10 +01:00
parent 75d0c4eeea
commit c0bbd33b90
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
EAPI="7"
inherit cargo
DESCRIPTION="Easy and efficient encrypted backups"
HOMEPAGE="https://bupstash.io/"
LICENSE="MIT"
if [[ "${PV}" == *9999* ]]
then
EGIT_REPO_URI="https://github.com/andrewchambers/bupstash.git"
inherit git-r3
KEYWORDS=""
else
MY_P="${PN}-v${PV}"
SRC_URI="https://github.com/andrewchambers/${PN}/releases/download/v${PV}/${MY_P}-src+deps.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
fi
SLOT="0"
DEPEND="dev-libs/libsodium"
RDEPEND="${DEPEND}"
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}