Files
febuild/sys-boot/rpi-imager-bin/rpi-imager-bin-2.0.11.1.ebuild
T
2026-10-14 00:02:02 +02:00

22 lines
617 B
Bash
Executable File

# 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
}