On Thu, 2023-06-08 at 08:02 -0400, bill-auger wrote:
> On Thu, 08 Jun 2023 14:46:01 +0300 Wael wrote:
> > I haven't checked with the Arch packager, but I don't think they'll be
> > replacing
> > it any time soon - as that version is still technically the "official"
> > flashrom.
> > Should I still try to ask anyhow?
> 
> sure, i would try - if you could convince arch to adopt it, we could drop this
> discussion altogether, and have one less package to maintain - i was nearly
> successful doing the same for 'cowsay' last month
I'll check with the flashrom packager upstream and report back.

> On Thu, 08 Jun 2023 14:46:01 +0300 Wael wrote:
> > From what I could gather 1.1 is the "stable", I suppose some of the
> > "instability
> > "/quick pace is because of improvements that were stuck upstream and now are
> > possible because of less bureaucracy.
> > 
> > I just tested twice, with the two patches I sent applied it does compile
> > fine
> > time after time, the tarball is version-specific and stable so long you're
> > pulling the same file.
> 
> by "stable" i meant "deterministic" - i was not able to download the same
> file twice, using the same URL
> 
> i will check again - maybe my brain was broken - which URL are you using? -
> can
> you send your revised PKGBUILD
I've attached the PKGBUILD whole (maybe I've screwed the patches up), this is
the one that is working for me.


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

# Maintainer (aur): Nico Huber <[email protected]>
# Maintainer: Wael Karram <[email protected]>

# Parabola Changes and Rationale:
# This package exists as an alternative to the rust-ridden flashrom.
# Most of the newer development is happening in this branch too, as part of 
Coreboot.
# Change of compilation targets to what is relevant for Parabola.

pkgname="flashrom-stable"
pkgdesc="Flashrom is a utility which can be used to detect, read, erase, or 
write BIOS chips (DIP, PLCC, SPI)."
pkgver=1.1
pkgrel=1
url="https://review.coreboot.org/plugins/gitiles/flashrom-stable";
license=('GPL')
source=("https://download.flashrom.org/flashrom-stable/releases/flashrom-stable-v${pkgver}.tar.bz2";
        
"https://download.flashrom.org/flashrom-stable/releases/flashrom-stable-v${pkgver}.tar.bz2.asc";)
validpgpkeys=('2853079C9C66AB7E82C64966A5C163B7E557CAEB') # Nico Huber - GPG
sha256sums=('8f7a5cefcb59be9994464031af5fea8e073b58e51b2b312155fecdd8298f1141'
            'SKIP')
depends=('pciutils' 'libusb' 'libftdi' 'libjaylink' 'libgpiod')
makedepends=('make')
optdepends=("dmidecode: for SMBIOS/DMI table decoder support")
conflicts=("flashrom")
arch=('armv7h' 'i686' 'x86_64')

build() {
        cd "${srcdir}/${pkgname}-v${pkgver}"
        make
}

package() {
        cd "${srcdir}/${pkgname}-v${pkgver}"
        install -d "${pkgdir}/usr/bin"
        install -d "${pkgdir}/usr/man/man8"
        install -m 0755 flashrom "${pkgdir}/usr/bin/"
        install -m 0644 flashrom.8 "${pkgdir}/usr/man/man8/"
        install -m 0755 util/ich_descriptors_tool/ich_descriptors_tool 
"${pkgdir}/usr/bin/"
}

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to