dev-vcs/sublime-merge: add new package
This commit is contained in:
parent
101f0541fb
commit
2bad24d362
|
@ -0,0 +1,2 @@
|
|||
DIST sublime_merge_build_2025_x64.tar.xz 4624896 BLAKE2B 883193cca0c27e521b8f4e37f818eb7afac81aa470dbe9869a02698b4164c404368295a0c7dfe6dea4eb1e4a35e8cdf8eb5a5ba1010aa1b1083c6441444fe787 SHA512 d5e20b2f4ee9ef14080e9aafd707e6bfa0517bc6fe02d2df1268d4f7f5afb461adfdcbcdd88e1889603f48309077027842a6c1e792189e9ad44ba71f212fccdf
|
||||
EBUILD sublime-merge-2025.ebuild 933 BLAKE2B 3d0f70f3a9c0097ad7c25d49470e4fba4090c2d7e5095e1cc39bc6ab6d9b41e0d6b0eceee5b07ac861c8273ef51e60cbdee627758d55c799af396c5a9995098a SHA512 a84540e41ee1318e65106eaf1847689538a50f04e26f1aa9b36faaef1b3637694541a90cd3b3d26e9d9652c232193167eb2f6081643b9a00b405c781bb9b14f4
|
|
@ -0,0 +1,48 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
|
||||
DESCRIPTION="A new Git Client, from the creators of Sublime Text"
|
||||
HOMEPAGE="https://www.sublimemerge.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.sublimetext.com/${MY_PN}_build_${PV}_x64.tar.xz )
|
||||
"
|
||||
|
||||
LICENSE="Sublime"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="dbus"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/git
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
dbus? ( sys-apps/dbus )
|
||||
"
|
||||
|
||||
QA_PREBUILD="*"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_prepare(){
|
||||
sed -i -e "/Actions/d" "${MY_PN}.desktop"
|
||||
default
|
||||
}
|
||||
|
||||
src_install(){
|
||||
mkdir -p "${ED%/}"/opt/${MY_PN}
|
||||
cp -r . "${ED%/}"/opt/${MY_PN}
|
||||
rm "${ED%/}"/opt/${MY_PN}/${MY_PN}.desktop
|
||||
domenu ${MY_PN}.desktop
|
||||
local size
|
||||
for size in 16 32 48 128 256; do
|
||||
doicon --size "${size}" Icon/${size}x${size}/${PN}.png
|
||||
done
|
||||
dobin "${FILESDIR}/smerge"
|
||||
}
|
Loading…
Reference in New Issue