dev-hare/hare-xml: add 0.25.2.0

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2025-06-23 12:24:21 +02:00
parent f0bef0692d
commit 49e6da06e5
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ "${PV}" = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-xml"
SLOT="0"
else
SRC_URI="https://git.sr.ht/~sircmpwn/hare-xml/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="XML support for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-xml"
LICENSE="MPL-2.0"
DEPEND=">=dev-lang/hare-0.25.2"
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}