Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / 
flashrom


Commits:
861bf9ca by Frederik Schwan at 2024-04-20T12:10:16+02:00
upgpkg: 1.3.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = flashrom
+       pkgdesc = Utility for reading, writing, erasing and verifying flash ROM 
chips
+       pkgver = 1.3.0
+       pkgrel = 1
+       url = https://www.flashrom.org/
+       arch = x86_64
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = meson
+       depends = cmocka
+       depends = libftdi
+       depends = libusb
+       depends = pciutils
+       optdepends = dmidecode: for SMBIOS/DMI table decoder support
+       source = git+https://github.com/flashrom/flashrom.git#tag=v1.3.0
+       sha256sums = 
bff6bc91e70e083d76d2554db56b59a09cdfc823a1d52b49bda76d378257e34c
+
+pkgname = flashrom


=====================================
PKGBUILD
=====================================
@@ -5,34 +5,34 @@
 # Contributor: Anton Shestakov <engored*ya.ru>
 
 pkgname=flashrom
-pkgver=1.2
-pkgrel=4
+pkgver=1.3.0
+pkgrel=1
 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
 arch=(x86_64)
 url="https://www.flashrom.org/";
-license=(GPL)
-depends=(libftdi pciutils libusb)
-makedepends=(meson)
+license=(GPL-2.0-or-later)
+depends=(
+  cmocka
+  libftdi
+  libusb
+  pciutils
+)
+makedepends=(
+  git
+  meson
+)
 optdepends=('dmidecode: for SMBIOS/DMI table decoder support')
-source=("https://download.flashrom.org/releases/${pkgname}-v${pkgver}.tar.bz2"{,.asc})
-sha256sums=('e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b'
-            'SKIP')
-validpgpkeys=(58A4868B25C7CFD662FB0132A3EB95B8D9780F68) # David Hendricks 
(packaging key) <david.hendri...@gmail.com>
+source=(git+https://github.com/flashrom/flashrom.git#tag=v${pkgver})
+sha256sums=('bff6bc91e70e083d76d2554db56b59a09cdfc823a1d52b49bda76d378257e34c')
 
 build() {
-  cd ${pkgname}-v${pkgver}
-  arch-meson ../build
-  ninja -v -C ../build
-  # Workaround for meson not installing manpage
-  make
+  arch-meson ${pkgname} build
+  meson compile -C build
 }
 
 package() {
-  DESTDIR="${pkgdir}" ninja -C build install
-  # Workaround for meson not installing manpage
-  cd ${pkgname}-v${pkgver}
-  make PREFIX=temp/ install
-  cp -r temp/share "${pkgdir}"/usr/
+  meson install -C build --destdir "${pkgdir}"
 
-  install -Dm644 util/z60_flashrom.rules 
"${pkgdir}"/usr/lib/udev/rules.d/flashrom.rules
+  cd ${pkgname}
+  install -Dm644 util/flashrom_udev.rules 
"${pkgdir}"/usr/lib/udev/rules.d/flashrom.rules
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/flashrom/-/commit/861bf9ca0d1e76c9044407f76675b8e607d371e5

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/flashrom/-/commit/861bf9ca0d1e76c9044407f76675b8e607d371e5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to