Postsync update gentoo

This commit is contained in:
2026-10-13 20:01:42 +02:00
parent da3803c977
commit 80d8fb147a
3 changed files with 33 additions and 0 deletions
@@ -0,0 +1,21 @@
# cribbed from https://archlinux.org/packages/extra/x86_64/rpi-imager/
EAPI=9
DESCRIPTION="Raspberry Pi Imaging Utility"
HOMEPAGE="https://github.com/raspberrypi/rpi-imager"
SRC_URI="
https://downloads.raspberrypi.com/imager/imager_${PV}_amd64.AppImage -> ${P}.AppImage
https://raw.githubusercontent.com/raspberrypi/rpi-imager/refs/tags/v${PV}/debian/com.raspberrypi.rpi-imager.desktop -> ${P}.desktop
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}"
RESTRICT=strip
src_install()
{
newbin ${DISTDIR}/${P}.AppImage rpi-imager
insinto /usr/share/applications
doins ${DISTDIR}/${P}.desktop
}