summaryrefslogtreecommitdiff
path: root/flx/fs/fs-0.ebuild
blob: a7d141a87aae240b7410bfe3c5b56f7920c8bc1a (plain) (blame)
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
30
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit flx-tools

DESCRIPTION="a dumb one"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_unpack() {
	mkdir "${S}"
	unpack_plist part2 "${S}/fs"
}

src_compile() {
	check_symbol "${S}/fs"

	tar czf "${S}/disk.tgz" \
		-C "${S}/fs" \
		.
}

src_install() {
	insinto /fs
	doins disk.tgz
}