src_prepare-overlay/app-editors/atom/atom-1.58.0.ebuild
Maciej Barć 68e3c7e21f
app-editors/atom: add 1.58.0
Signed-off-by: Maciej Barć <xgqt@riseup.net>
2021-10-19 00:20:38 +02:00

24 lines
570 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop bintron
DESCRIPTION="A hackable text editor for the 21st Century"
HOMEPAGE="https://atom.io/"
SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/atom-${PV}-amd64"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64"
src_install() {
dosym ${BINTRON_HOME}/atom /usr/bin/atom
doicon "${S}"/atom.png
make_desktop_entry atom Atom atom "TextEditor;Development;IDE;"
bintron_src_install
}