summaryrefslogtreecommitdiff
blob: 546293ef80eba42bd9f645fb4b4855c1cfb72b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

VCS="git"
GITHUB_A="dcurrie"

inherit lua

DESCRIPTION="A unit testing framework for Lua"
HOMEPAGE="https://github.com/dcurrie/lunit"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="doc examples"

EXAMPLES=(examples/.)
DOCS=(README README.lunitx DOCUMENTATION)

each_lua_install() {
	dolua lua/*
}

all_lua_install() {
	dobin extra/"${PN}".sh
	dosym "${PN}.sh" /usr/bin/"${PN}"
}