bupstash: Bump to 0.12.0
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
34
app-backup/bupstash/bupstash-0.12.0.ebuild
Normal file
34
app-backup/bupstash/bupstash-0.12.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user