Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: rpi-imager-app #6899

Merged
merged 8 commits into from
Jan 24, 2025
Merged
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ rio-wayland-deb
rio-x11-deb
rosary-deb
rpcs3-app
rpi-imager-app
rsbbi-git
rstudio-deb
rust-bin
Expand Down
13 changes: 13 additions & 0 deletions packages/rpi-imager-app/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pkgbase = rpi-imager-app
gives = rpi-imager
pkgver = 1.9.0
pkgdesc = The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices
arch = amd64
arch = arm64
maintainer = James Ed Randson <[email protected]>
source_amd64 = https://github.com/raspberrypi/rpi-imager/releases/download/v1.9.0/Raspberry_Pi_Imager-1.9.0-x86_64.AppImage
sha256sums_amd64 = 26e837a758776d8a6cec7b92262d73188bcecee20c48cff066d05adef2dc555f
source_arm64 = https://github.com/raspberrypi/rpi-imager/releases/download/v1.9.0/Raspberry_Pi_Imager-1.9.0-aarch64.AppImage
sha256sums_arm64 = 761053904ee29ad0b91bfe4418424b383d0a47ff4920544d8e81f9d87e8f81e8

pkgname = rpi-imager-app
31 changes: 31 additions & 0 deletions packages/rpi-imager-app/rpi-imager-app.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
pkgname="rpi-imager-app"
gives="rpi-imager"
arch=("amd64" "arm64")
pkgver="1.9.0"
pkgdesc="The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices"
maintainer=("James Ed Randson <[email protected]>")
source_amd64=("https://github.com/raspberrypi/${gives}/releases/download/v${pkgver}/Raspberry_Pi_Imager-${pkgver}-x86_64.AppImage")
sha256sums_amd64=("26e837a758776d8a6cec7b92262d73188bcecee20c48cff066d05adef2dc555f")
source_arm64=("https://github.com/raspberrypi/${gives}/releases/download/v${pkgver}/Raspberry_Pi_Imager-${pkgver}-aarch64.AppImage")
sha256sums_arm64=("761053904ee29ad0b91bfe4418424b383d0a47ff4920544d8e81f9d87e8f81e8")

package() {
if [[ ${CARCH} == amd64 ]]; then
gnuarch="x86_64"
else
gnuarch="aarch64"
fi

install -Dm755 "Raspberry_Pi_Imager-${pkgver}-${gnuarch}.AppImage" "${pkgdir}/usr/bin/rpi-imager"
install -d "${pkgdir}/usr/share/applications"
cat << EOF > "${pkgdir}/usr/share/applications/rpi-imager.desktop"
[Desktop Entry]
Type=Application
Name=Raspberry Pi Imager
Comment=User-friendly tool for creating bootable media for Raspberry Pi devices
Exec=/usr/bin/rpi-imager
Icon=rpi-imager
Terminal=false
Categories=Application;Utilities
EOF
}
14 changes: 14 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -10805,6 +10805,20 @@ pkgbase = rpcs3-app

pkgname = rpcs3-app
---
pkgbase = rpi-imager-app
gives = rpi-imager
pkgver = 1.9.0
pkgdesc = The home of Raspberry Pi Imager, a user-friendly tool for creating bootable media for Raspberry Pi devices
arch = amd64
arch = arm64
maintainer = James Ed Randson <[email protected]>
source_amd64 = https://github.com/raspberrypi/rpi-imager/releases/download/v1.9.0/Raspberry_Pi_Imager-1.9.0-x86_64.AppImage
sha256sums_amd64 = 26e837a758776d8a6cec7b92262d73188bcecee20c48cff066d05adef2dc555f
source_arm64 = https://github.com/raspberrypi/rpi-imager/releases/download/v1.9.0/Raspberry_Pi_Imager-1.9.0-aarch64.AppImage
sha256sums_arm64 = 761053904ee29ad0b91bfe4418424b383d0a47ff4920544d8e81f9d87e8f81e8

pkgname = rpi-imager-app
---
pkgbase = rsbbi-git
gives = rsbbi
pkgver = 0.0.1
Expand Down
Loading