diff --git a/app-editors/atom/Manifest b/app-editors/atom/Manifest new file mode 100644 index 0000000000..2594df6dfe --- /dev/null +++ b/app-editors/atom/Manifest @@ -0,0 +1 @@ +DIST atom-1.55.0.tar.gz 193419030 BLAKE2B 7c6dcb95947d10e024daa8bf160744ddb5c9885083dbfe3e9506810002a33d14599da3f27b776e185efc315cca312bc83b73c5c835361e8d1b545d050bbbaf6a SHA512 be8e80fa6f71735c05203cb95711614dd77fadf030a13c453a3921060f359c6ce2b1971c3be9c93db8accbc5151685f91b7dc77a074dbfc77f7d576a1158b211 diff --git a/app-editors/atom/atom-1.55.0.ebuild b/app-editors/atom/atom-1.55.0.ebuild new file mode 100644 index 0000000000..178c282b3f --- /dev/null +++ b/app-editors/atom/atom-1.55.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A hackable text editor for the 21st Century" + +HOMEPAGE="https://atom.io/" +SRC_URI="https://github.com/atom/atom/releases/download/v1.55.0/${PN}-amd64.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +inherit desktop xdg-utils + +S="${WORKDIR}/${P}-amd64" + +DEPEND="net-print/cups" # Requested by electron + +src_prepare(){ + default + + # Remove useless license files. + rm LICENSE.electron.txt LICENSES.electron.html +} + +src_install(){ + insinto /opt/"${PN}" + doins -r "${S}"/* + dosym "${EPREFIX}"/opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom + fperms +x /opt/"${PN}"/atom + make_desktop_entry /opt/atom/atom atom + doicon atom.png +} diff --git a/app-editors/atom/metadata.xml b/app-editors/atom/metadata.xml new file mode 100644 index 0000000000..a0b29038e0 --- /dev/null +++ b/app-editors/atom/metadata.xml @@ -0,0 +1,11 @@ + + + + + marco@scardovi.com + Marco Scardovi + + + atom/atom + +