commit: 14b3b3ceccdddd7bfad79f7e6d6ff1d62a3b1ab9 Author: Philip DeMonaco <phil <AT> demona <DOT> co> AuthorDate: Tue Jun 16 23:00:28 2020 +0000 Commit: Philip DeMonaco <phil <AT> demona <DOT> co> CommitDate: Tue Jun 16 23:06:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14b3b3ce
app-admin/chezmoi-bin: new package Manage your dotfiles across multiple machines, securely. Note that this is a port of an existing pull request made against the primary portage tree. Bug: https://bugs.gentoo.org/688190 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Philip DeMonaco <phil <AT> demona.co> app-admin/chezmoi-bin/Manifest | 2 ++ app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild | 50 ++++++++++++++++++++++++++ app-admin/chezmoi-bin/metadata.xml | 22 ++++++++++++ 3 files changed, 74 insertions(+) diff --git a/app-admin/chezmoi-bin/Manifest b/app-admin/chezmoi-bin/Manifest new file mode 100644 index 0000000..1c61864 --- /dev/null +++ b/app-admin/chezmoi-bin/Manifest @@ -0,0 +1,2 @@ +DIST chezmoi-bin-1.8.2_amd64.tar.gz 7281761 BLAKE2B 4265cb415233e7043bf1fbb0657c3106d6a968072b45b98512db15d6b5eb5286e70f8f53b292237bec12cc474eaa3df8c43d0d1a1cdf6fd2eea3b369bace1594 SHA512 ca1cd0812b93c466a02bbf178d6f87bdf44d914a1bf7269b3db6482acf5c35fe5dcb49ee294fd5c93ce679f938414a6c7696cac04c0124eb42cac1fd0ef379e3 +DIST chezmoi-bin-1.8.2_x86.tar.gz 6860526 BLAKE2B d6a8220c8fa6146e169551007bc03cbf15b70bd07332960f337e12ab7701a6a86dc15cff25893a66c23c27e2fb38da0d245e5efc895e6448991c2dfbae03cb36 SHA512 8bde30fe9769ac39fe586721f11932487a7b1e10d8fb4e932ea4236fdbe9d94ab933b807f2d188c4de706d0dab68c8e64e9260c9f636f84e8569c274ae25d335 diff --git a/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild b/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild new file mode 100644 index 0000000..c614ea1 --- /dev/null +++ b/app-admin/chezmoi-bin/chezmoi-bin-1.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Manage your dotfiles across multiple machines, securely." +HOMEPAGE="https://github.com/twpayne/chezmoi" + +# Remove bin from the package name +BASE_PN="${PN/-bin}" +A_AMD64="${P}_amd64.tar.gz" +A_X86="${P}_x86.tar.gz" + +BASE_URI="${HOMEPAGE}/releases/download/v${PV}/${BASE_PN}_${PV}_linux" +SRC_URI="amd64? ( ${BASE_URI}_amd64.tar.gz -> ${A_AMD64} ) + x86? ( ${BASE_URI}_i386.tar.gz -> ${A_X86} )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-vcs/git" +RDEPEND="${DEPEND}" +BDEPEND="" + +DOCS=( "docs" ) + +src_unpack() { + # Create the source directory + mkdir -p "${S}" || die + pushd "${S}" || die + + # Determine the correct source package + if use x86; then + ARCHIVE="${A_X86}" + elif use amd64; then + ARCHIVE="${A_AMD64}" + fi + + # Unpack the archive if a matching one was found + if [ "${ARCHIVE}" != "" ]; then + unpack ${ARCHIVE} + fi +} + +src_install() { + einstalldocs + dobin "${S}/${BASE_PN}" || die +} diff --git a/app-admin/chezmoi-bin/metadata.xml b/app-admin/chezmoi-bin/metadata.xml new file mode 100644 index 0000000..c5e01bf --- /dev/null +++ b/app-admin/chezmoi-bin/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Phil DeMonaco</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Dotfile management application which provides a configuration + and encryption interface ontop of traditional version control + functionality. This simplifies synchronization of dotfiles + between multiple machines, operating systems, and environments + with differing requirements. + </longdescription> + <upstream> + <remote-id type="github">twpane/chezmoi</remote-id> + </upstream> +</pkgmetadata>
