Hello,
This patch was sent before but I'm sending it again as it seems to have
fallen through the gaps somehow.


-- 
Kind Regards,
Wael Karram.
From c1da1e79b7470018e0a1e37e6a1415e44423b1d4 Mon Sep 17 00:00:00 2001
From: wael <[email protected]>
Date: Thu, 19 Dec 2024 12:41:37 +0200
Subject: [PATCH] Updated flashprog to 1.3

---
 pcr/flashprog/PKGBUILD | 29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)

diff --git a/pcr/flashprog/PKGBUILD b/pcr/flashprog/PKGBUILD
index 7460e08ad..d2ca95d12 100644
--- a/pcr/flashprog/PKGBUILD
+++ b/pcr/flashprog/PKGBUILD
@@ -1,29 +1,25 @@
-# Maintainer (aur): Nico Huber <[email protected]>
-# Maintainer: Wael Karram <wael AT waelk.tech>
-
+# Maintainer (AUR): Nico Huber <[email protected]>
+# Maintainer (Parabola): Wael Karram <wael AT waelk.tech>
 
 # Parabola Changes and Rationale
 # 1) Clarified license version (GPLv2 only).
 # 2) Dropped unsupported architectures.
-# 3) removed support for incompatible 'libgpiod'
-
+# 3) Build from archive, not git repo tags.
 
 pkgname="flashprog"
-pkgdesc="utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI)"
-pkgver=1.1
+pkgdesc="Flashprog is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI)."
+pkgver=1.3
 pkgrel=1
+archive_suffix=.tar.bz2
 url="https://flashprog.org/";
 license=('GPL2')
-source=(http://flashprog.org/releases/flashprog-v${pkgver}.tar.bz2{,.asc})
-sha256sums=('b70792ed4b46c82e07460379f0b110c64a3897c0e9d65e8ee47ac88ca683b653'
-            'SKIP')
+source=(https://flashprog.org/releases/flashprog-v${pkgver}${archive_suffix})
+sha256sums=('6867176f234285089211100b90fd3c7b8f6d207f7dab2dbb664d57ab7cc77edf')
 validpgpkeys=('2853079C9C66AB7E82C64966A5C163B7E557CAEB')
-depends=('pciutils' 'libusb' 'libftdi' 'libjaylink' 'libgpiod')
-depends=( ${depends[*]/libgpiod/} ) # libgpiod >=2.0 is incompatible
+depends=('pciutils' 'libusb' 'libftdi' 'libjaylink') # libgpiod became incompatible with 2.0
+makedepends=('git' 'make')
 optdepends=("dmidecode: for SMBIOS/DMI table decoder support")
-arch=('riscv64' 'aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
-arch=( ${arch[*]/armv6h/} )
-
+arch=('armv7h' 'i686' 'x86_64')
 
 build() {
 	cd "${srcdir}/${pkgname}-v${pkgver}"
@@ -36,8 +32,5 @@ package() {
 	install -d "${pkgdir}/usr/man/man8"
 	install -m 0755 flashprog "${pkgdir}/usr/bin/"
 	install -m 0644 flashprog.8 "${pkgdir}/usr/man/man8/"
-
-	# armv7h fails to build 'ich_descriptors_tool'
-	[[ "${CARCH}" == armv7h ]] ||
 	install -m 0755 util/ich_descriptors_tool/ich_descriptors_tool "${pkgdir}/usr/bin/"
 }
-- 
2.47.1

Attachment: pgpA7ezxgwrPr.pgp
Description: OpenPGP digital signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to