summaryrefslogtreecommitdiff
path: root/dev-hare/hare-json/hare-json-9999.ebuild
blob: 216d79572ca5698eaa9b2b3e8a22b18fdcef520d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

DESCRIPTION="JSON support for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-json"
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-json"
LICENSE="MPL-2.0"
SLOT="0"

DEPEND="dev-lang/hare"
RDEPEND="${DEPEND}"

src_prepare() {
	default

	sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}