mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-crystal/protodec: fix rdepend
Closes: https://bugs.gentoo.org/945524 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
35
dev-crystal/protodec/protodec-0.1.5-r2.ebuild
Normal file
35
dev-crystal/protodec/protodec-0.1.5-r2.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2022-2024 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/libpcre2:=
|
||||
"
|
||||
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
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin protodec
|
||||
shards_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user