Hello, This patch updates flashprog to v1.2 while also substituting the tagged git clone step in the PKGBUILD with using upstream-released tarballs.
-- Kind Regards, Wael Karram.
From c2af7bf737ee811d7aa0a3ca439a1a3e420d9bee Mon Sep 17 00:00:00 2001 From: wael <[email protected]> Date: Fri, 30 Aug 2024 18:42:38 +0300 Subject: [PATCH] update flashprog to v1.2 and utilize upstream tarball instead of git tags. --- pcr/flashprog/PKGBUILD | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/pcr/flashprog/PKGBUILD b/pcr/flashprog/PKGBUILD index 7460e08ad..c7dfd5b77 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.2 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=('4b8b8164743e9d48d4d23a9c975c800cf0822016e3a8c744ba52370248c701a5') 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.46.0
pgpV5T0Em9Gee.pgp
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
