feat: add chezmoi-bin from https://github.com/gentoo/gentoo/pull/12272
This commit is contained in:
parent
390faedb89
commit
e63af481da
4 changed files with 77 additions and 0 deletions
2
app-admin/chezmoi-bin/Manifest
Normal file
2
app-admin/chezmoi-bin/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST chezmoi-bin-1.7.12_amd64.tar.gz 7270391 BLAKE2B c9b4db932193ad0856cf1a57e9a09415b67882de7ebe8e016f4b300c2ec22528f1dd26e4a934d4231669641e5a3685de605918d89a493f2fe78ab73684ec2a75 SHA512 ffc9f4f1ef5df38ad9a17ea11b9acc051369018bef533798990e202a855d560cb7f3a2d97a22d4a3a9a93f31865e8daa5965510bdf302ed3a7899576778e7672
|
||||
DIST chezmoi-bin-1.7.12_x86.tar.gz 6807079 BLAKE2B 74b5e1162da428713ba7e179efb27a67142a6244b98f0fa7f4ec9c1894bada06ec8a9873c619bc09bdb25400e033653af779390ad669c31bcdc7d5b43be21d23 SHA512 1a4f750adb2f62d87c5de4a18e5aed4ef014602fbe3683b5b939348ee1619cfdb38672af663014424664b9fcc5ec422feee375e86ab918ff0e1d95da6b9e1b68
|
50
app-admin/chezmoi-bin/chezmoi-bin-1.7.12.ebuild
Normal file
50
app-admin/chezmoi-bin/chezmoi-bin-1.7.12.ebuild
Normal file
|
@ -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
|
||||
}
|
22
app-admin/chezmoi-bin/metadata.xml
Normal file
22
app-admin/chezmoi-bin/metadata.xml
Normal file
|
@ -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>phil@demona.co</email>
|
||||
<name>Phil DeMonaco</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</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>
|
3
app-admin/op/Manifest
Normal file
3
app-admin/op/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
|||
DIST slack-desktop-3.3.3-amd64.deb 54203216 BLAKE2B 93f72a2a7ead75682b9ef9bd9f9b5ec19a5954d20e4ef3da214154eb53fd21533fac4e07893d883b7f9a51fd3af4e53f4b7102a0bee060d23f98b15bbc9207e9 SHA512 bb773ddc9cb13f520143412f73d47e308410d861fa63ca13a986d2c390900c59827b2cca6c55175a2778b341c534b0aab49841a4506f63d11359cada57473b67
|
||||
EBUILD slack-desktop-bin-3.3.3.ebuild 972 BLAKE2B b9744f7cd8cb035cf36fc6dd9d9057ec16d4bc770db590daf226f13a801965ed88232613f95752cdeda3f6c9c918b5f5ec323016dcc6f753e9304bf2eb6764a5 SHA512 c52e8ba500fa85203b05cd42f7f442f65234e55b2924863887a716e9b748d4cc17d3555179a838523431cd61c2ebc4fb8af9d47648d5ae1066820236b1e8c726
|
||||
MISC metadata.xml 120 BLAKE2B 48651668877ab251d559c7921a895339b5ce63e731c96a198d3c18b5355ac2ba0c61493d8b5528c0db4bad98203e4db57229c4cc0522d96e93dff22f88b8cf03 SHA512 0e29a0b43f33451f3527f3f8dc7ec070485b7fea60e2443ada6bda10b74c581ed4fdb6adc896b2d3bd19569e3a95e8a2dbf91ed9b3242dbe6b5cb9e4a921cbc8
|
Loading…
Add table
Reference in a new issue