guru/dev-libs/tllist/tllist-9999.ebuild
Ryan Fox 7c114dba9b
dev-libs/tllist: New package
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-04-14 22:31:48 +00:00

30 lines
638 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/tllist/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/tllist.git"
fi
DESCRIPTION="A C header file only implementation of a typed linked list"
HOMEPAGE="https://codeberg.org/dnkl/tllist"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
meson_src_install
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}