diff options
-rw-r--r-- | dev-vcs/lefthook/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/lefthook/lefthook-1.2.6.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-vcs/lefthook/Manifest b/dev-vcs/lefthook/Manifest index d64636195..8851a3dc6 100644 --- a/dev-vcs/lefthook/Manifest +++ b/dev-vcs/lefthook/Manifest @@ -707,6 +707,8 @@ DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.1-2020.1.4.mod 300 BLAKE2B 3aa707c72ce7e DIST lefthook-1.0.0.tar.gz 64634 BLAKE2B b9d6940c209501eacadd0441118b0572bd5eafe78e42135a641681c69b26f6cadc5c0de3970e0aff3dd529c431c921bf3791bbc6447978137781e1f8c49d8818 SHA512 7ced8bf6df8dbccba8079df74d494eb60e4ace34ea88364a1f03bac05a3c10e53c04f242f4cdb1921e7a43d08fe0475eada9fbf58967b8b72c3a543f177ce5cf DIST lefthook-1.0.4-deps.tar.gz 22315997 BLAKE2B 824256bcc5a4da1f0f82a801bdad89a3964344d67d5bdacb77c922aca55628c7698a20cb9a4acc5aaea82e3743f2b11d442a2e631217674bc54c84eb4a295f15 SHA512 cdd28c18ec99afdefab3298ea7ab70ec4eb20293c40e1a67b769293453cd750dee25a2fc881b224e758427cbf1e76a30d48cb6ca1cd8f554924892602093653e DIST lefthook-1.0.4.tar.gz 66171 BLAKE2B 6418d38170215933a66ac3016336a1747a3e3896ac0d7b46690ba1ba2a2dd43028150b71db1833d79a176dc7a80b59e545cf15c76986939c871d150396f58de8 SHA512 434e8326be27f5ef7f14370bf95c03e4ba55efdc21aee6b2f078f0c38935e98610f73531bfd84cf7759c2aad79dfb185369166dc206695dbf12ca6fe22d1926f +DIST lefthook-1.2.6-deps.tar.xz 20189012 BLAKE2B 3c4ed018728dd201de7e7eea5a5111bbf6ffd92e4a37f465df50f0594f4543822c3719cd72170ae7e276781046cef2063d1a3b148c719a3ad81939b008f3209d SHA512 aa34c9bc32ae75c166e51b8a604d190cc26453d18e13d13eaa0ac4eccfe21e686d2ced914b5992c8d6bf0310e703c01ab6fc39a3230903ed6569a12b2002cc78 +DIST lefthook-1.2.6.tar.gz 75049 BLAKE2B 57d96bddc8442e40f7faeb49f943026f3a616ff5cfb687d0fde0d8301aa73c0f620197ac351a41b5b7ce3bfcdfcb68472d763ab254ff7b15e7cfd7368a4904b1 SHA512 09a019441579a172985dc4ced01c4f384fda2949622042e1cb97bc4b4651d2fc412e5e8796356d8bda310334f14994908bba923efc03d10ed6925ad61da4e989 DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774 DIST rsc.io%2Fquote%2Fv3%2F@v%2Fv3.1.0.mod 55 BLAKE2B f1f0ba35f0ffd200ed37c06b2025c1fd436e3fd857bd525b9295c0cbcade7e1f037e3f566124a7ef428384d50525426f0d40468c967e39bac6057174710e2566 SHA512 e6357ddd7d09692c60e59e6cb80469ade8284052cdd3ea520ec4dbcb42c1cabe045c599e43cce94bec022bd82e87a554ecac42f8c917cf2ff44daff9c1a147d5 DIST rsc.io%2Fsampler%2F@v%2Fv1.3.0.mod 88 BLAKE2B c2ac3c9619e396db470c9951dfc11cdacccd56ae09b3b353015ee7e5fbb023df288dbf48d81b44c309241d1ea89a2e0ee42ee1d17e536fcfa531aaee0e651ab7 SHA512 2137507eb25fbae419605e0cd6bca4cfa584110eebc276cd759a4dcb6f97e52928e5b2d9b276e76bcabcec3bbfc2c42f97fa29f54695d27fb00f9423e1638863 diff --git a/dev-vcs/lefthook/lefthook-1.2.6.ebuild b/dev-vcs/lefthook/lefthook-1.2.6.ebuild new file mode 100644 index 000000000..0eb194e25 --- /dev/null +++ b/dev-vcs/lefthook/lefthook-1.2.6.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}-deps.tar.xz +" + +LICENSE="Apache-2.0 MIT BSD BSD-2 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND} + dev-vcs/git +" +BDEPEND=" + >=dev-lang/go-1.17 +" + +src_compile() { + go build -ldflags "-s -w" -o "${PN}" main.go || die "go build failed" +} + +src_install() { + dobin "${PN}" + dodoc README.md CHANGELOG.md docs/configuration.md docs/usage.md +} |