1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-03-23 04:53:33 +01:00

chezmoi version bump

This commit is contained in:
2022-08-12 14:55:07 +02:00
parent cb40ee8a1e
commit 41ee43e223
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
MY_PN="${PN%-bin}"
DESCRIPTION="Manage your dotfiles across multiple diverse machines, securely."
HOMEPAGE="https://www.chezmoi.io/"
SRC_URI="
amd64? ( https://github.com/twpayne/${MY_PN}/releases/download/v${PV}/${MY_PN}_${PV}_linux_amd64.deb )
arm? ( https://github.com/twpayne/${MY_PN}/releases/download/v${PV}/${MY_PN}_${PV}_linux_armel.deb )
arm64? ( https://github.com/twpayne/${MY_PN}/releases/download/v${PV}/${MY_PN}_${PV}_linux_arm64.deb )
ppc64? ( https://github.com/twpayne/${MY_PN}/releases/download/v${PV}/${MY_PN}_${PV}_linux_ppc64.deb )
x86? ( https://github.com/twpayne/${MY_PN}/releases/download/v${PV}/${MY_PN}_${PV}_linux_i386.deb )"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
DEPEND="dev-vcs/git"
RDEPEND="${DEPEND}"
BDEPEND=""
RESTRICT="mirror"
QA_PREBUILT="
usr/bin/${MY_PN}"
S="${WORKDIR}"
src_unpack() {
unpack_deb "${A}"
}
src_install() {
insinto /
doins -r *
fperms +x /usr/bin/${MY_PN}
}