# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 toolchain-funcs

DESCRIPTION="A barebones music player using c & raylib"
HOMEPAGE="https://gitbtw.com/fordon_greeman/moosicplayer"
EGIT_REPO_URI="https://gitbtw.com/fordon_greeman/moosicpalyer"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS=""

src_compile() {
	emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" || die "Failed to compile moosicplayer"
}

src_install() {
	dobin moosicpalyer || die "Failed to install moosicplayer"
}