summaryrefslogtreecommitdiff
blob: bd291a17a572f6c24f1c02ad6fc71eedeafdc4a5 (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-2017 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}"
}