Add libspeedwm ebuild

This commit is contained in:
speedie 2022-11-17 22:29:59 +01:00
parent 7019abea07
commit 5c96d950fe

View file

@ -0,0 +1,32 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="libspeedwm: simple speedwm library"
HOMEPAGE="https://codeberg.org/speedie/libspeedwm"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/speedie/${PN}.git"
else
SRC_URI="https://codeberg.org/speedie/${PN}/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
RDEPEND="x11-libs/libX11 dev-lang/tcc"
DEPEND="${RDEPEND}"
src_prepare() {
default
}
src_install() {
newbin "${WORKDIR}/${P}/${PN}" ${PN}
}