x11-misc/gammy: fix src_install

Closes: https://bugs.gentoo.org/784683
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-04-21 09:15:08 +02:00
parent 2dafcb97ff
commit 83ece4c2f7
3 changed files with 3 additions and 21 deletions

View File

@@ -37,7 +37,7 @@ src_configure() {
}
src_install() {
default
emake INSTALL_ROOT="${D}" install
local sizes="128 16 32 64"
cd ./icons || die

View File

@@ -37,14 +37,5 @@ src_configure() {
}
src_install() {
default
local sizes="128 16 32 64"
cd ./icons || die
for size in ${sizes}; do
convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die
newicon -s "${size}" "${size}x${size}ball.png" "${PN}.png"
done
make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings"
emake INSTALL_ROOT="${D}" install
}

View File

@@ -37,14 +37,5 @@ src_configure() {
}
src_install() {
default
local sizes="128 16 32 64"
cd ./icons || die
for size in ${sizes}; do
convert "${size}x${size}ball.ico" "${size}x${size}ball.png" || die
newicon -s "${size}" "${size}x${size}ball.png" "${PN}.png"
done
make_desktop_entry "${PN}" "${PN^}" "${PN}" "Graphics;Settings"
emake INSTALL_ROOT="${D}" install
}