summaryrefslogtreecommitdiff
path: root/app-eselect/eselect-swift/eselect-swift-1.0.ebuild
blob: c6b499b5cbc580c3dc91fd4ae0ef2f06a993c787 (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Manages Swift symlinks"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"

S="${WORKDIR}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="app-admin/eselect"

src_install() {
	insinto /usr/share/eselect/modules
	newins "${FILESDIR}/swift-${PV}.eselect" swift.eselect || die
}

pkg_postinst() {
	eselect swift update
}