diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-12-01 20:42:29 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-12-02 11:13:11 +0500 |
commit | d1505558b9a8645c3f96792f793bbef99a105a20 (patch) | |
tree | d5262ed68800f6f947deeb161c27599b9352f919 /dev-crystal | |
parent | kde-apps/alligator: add 22.11 (diff) | |
download | guru-d1505558b9a8645c3f96792f793bbef99a105a20.tar.gz guru-d1505558b9a8645c3f96792f793bbef99a105a20.tar.bz2 guru-d1505558b9a8645c3f96792f793bbef99a105a20.zip |
dev-crystal/protodec: add 0.1.5
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-crystal')
-rw-r--r-- | dev-crystal/protodec/Manifest | 1 | ||||
-rw-r--r-- | dev-crystal/protodec/protodec-0.1.5.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-crystal/protodec/Manifest b/dev-crystal/protodec/Manifest index 65dc7e777..8e9ba1cb4 100644 --- a/dev-crystal/protodec/Manifest +++ b/dev-crystal/protodec/Manifest @@ -1 +1,2 @@ DIST protodec-0.1.4.tar.gz 18008 BLAKE2B e3154c4901df523e8a914a23006030448ffc8c926701d5a072f1f0278b1e17969d83049bf4c49037af1f05eb1ececb0e79d5080e47e181ed944690daffa75957 SHA512 0211c7b165946d2779808a43893703bf0138ff601e0e3b4aa54024b5eed317d692547822dc42ec6b320f75798ffa4334c4217fd1ee5c11b1eb6dab6db20ce7a8 +DIST protodec-0.1.5.tar.gz 18246 BLAKE2B ba2a95f07ddc0d94c9b1c66d59d624d5aaf62bbb1bd20c294329d67e9d9b11048f565ca33f3fc7e54c7ee857453249dfa2bccc91d5c1e22caf87ba25355a2557 SHA512 6235864397bd90a482be4bd19736982da9d60a4229b3256224d9985fa70a0529aaaeeb3fb5285d692e3a5441895c09b37e887cec4f125726935e6764a047bb46 diff --git a/dev-crystal/protodec/protodec-0.1.5.ebuild b/dev-crystal/protodec/protodec-0.1.5.ebuild new file mode 100644 index 000000000..f299a6362 --- /dev/null +++ b/dev-crystal/protodec/protodec-0.1.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shards + +DESCRIPTION="Command-line tool to encode and decode arbitrary protobuf data" +HOMEPAGE="https://github.com/iv-org/protodec" +SRC_URI="https://github.com/iv-org/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/boehm-gc + dev-libs/libevent:= + dev-libs/libpcre +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i src/protodec.cr \ + -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \ + -e 's/\(CURRENT_COMMIT \) = .*/\1 = "gentoo"/' \ + -e "s/\(CURRENT_VERSION\) = .*/\1 = \"v${PV}\"/" || die +} |