# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

COMMIT="a0dc1037f99a643ff5fad7272cd3d6461f2d63fa"
DESCRIPTION="Single file library for audio playback and capture"
HOMEPAGE="https://miniaud.io"
SRC_URI="https://github.com/mackron/miniaudio/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="|| ( public-domain MIT-0 )"
SLOT="0"
KEYWORDS="~amd64"

src_install() {
	insinto /usr/include/${PN}/
	doins -r *
}