diff options
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/lefthook/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/lefthook/lefthook-1.5.5.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-vcs/lefthook/Manifest b/dev-vcs/lefthook/Manifest index 48febb59c..00a0c48da 100644 --- a/dev-vcs/lefthook/Manifest +++ b/dev-vcs/lefthook/Manifest @@ -1,2 +1,4 @@ DIST lefthook-1.4.8-vendor.tar.xz 1539856 BLAKE2B 91251247f182c7fbaa83f0fe607fe5f162928ec8c6f1c58fcd22bda2171bc2a52340a905817675366ea63d0a75a9edc55634e47bc06804c226ce5b991f76bda1 SHA512 8630fd9230e34ee17cd9d0dcb21881f909db660a6c6f1a7f54ac361cfc49a04b397185586a8107c56acfb3bb77b6b61bfecc0b8be45ce34000fa2cdc6745ea00 DIST lefthook-1.4.8.tar.gz 88560 BLAKE2B 4d1c7ddec5be710d0e6927aa0e23f82df9d3a81bb295fdbc1c53fb1ab1787b745965de4822e7ef01cdfe181b865123a09a7749566602fe0b991394c4c1a226d5 SHA512 0d547ede111cb36e75b549021e0875b46e9012f61a67f8db44baa48a54de1b7f69e6bd7083c4fd299abd510a26a8c84705d4cef671cac3a11bdf5b0386d11f6c +DIST lefthook-1.5.5-vendor.tar.xz 1525644 BLAKE2B c70323b15263655fe2402d13c6b715d476f9ed5b98e48faced54321b3776872c66ed4cba50b97e299fe3c17063d2a272ebc81db7a6d4156f006e1b42510dc75e SHA512 0b06ace861d1e35e3409908387252ef1e61501013dd8ad05f70cfb26a3d923ad1c56fe7445b82e9a0e8b5eaee7defef367225915be3f61eb0da18f08d95ff9a3 +DIST lefthook-1.5.5.tar.gz 97507 BLAKE2B 11cf8e4c8a6a51b65bd14d7e437dabacd7f6b5748345a5e88d734d25e81daf5fb1aa19a552be9fc3fa513ea729c6b5be2cc981c3638eea85793eeb5492bb2286 SHA512 14e9aac92dc83b9e7a3a83e05b2b42f6713cb6fc566fe9f66778846125b3a551682b3c4bb955886de84cf237798b18adfb865524868e538337eb39d602251c3d diff --git a/dev-vcs/lefthook/lefthook-1.5.5.ebuild b/dev-vcs/lefthook/lefthook-1.5.5.ebuild new file mode 100644 index 000000000..560e22e62 --- /dev/null +++ b/dev-vcs/lefthook/lefthook-1.5.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Fast and powerful Git hooks manager for any type of projects" +HOMEPAGE="https://github.com/evilmartians/lefthook" +SRC_URI=" + https://github.com/evilmartians/lefthook/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/ixti/lefthook/releases/download/v${PV}/${P}-vendor.tar.xz +" + +LICENSE="Apache-2.0 MIT BSD BSD-2 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="${DEPEND} + dev-vcs/git +" + +BDEPEND=" + >=dev-lang/go-1.21 +" + +src_compile() { + ego build +} + +src_install() { + dobin "${PN}" + dodoc README.md CHANGELOG.md docs/configuration.md docs/usage.md +} |