[arch-commits] Commit in flashrom/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon May 11 18:20:15 UTC 2020


    Date: Monday, May 11, 2020 @ 18:20:14
  Author: archange
Revision: 626284

archrelease: copy trunk to community-x86_64

Added:
  flashrom/repos/community-x86_64/PKGBUILD
    (from rev 626283, flashrom/trunk/PKGBUILD)
Deleted:
  flashrom/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-11 18:20:06 UTC (rev 626283)
+++ PKGBUILD	2020-05-11 18:20:14 UTC (rev 626284)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Cilyan Olowen <gaknar at gmail.com>
-# Contributor: fill <mailbox at fillo.ru>
-# Contributor: Anton Shestakov <engored*ya.ru>
-
-pkgname=flashrom
-pkgver=1.2
-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-compat)
-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.hendricks at gmail.com>
-
-prepare() {
-  cd ${pkgname}-v${pkgver}
-  sed -i 's:sbin:bin:g' Makefile
-}
-
-build() {
-  cd ${pkgname}-v${pkgver}
-  make
-}
-
-package() {
-  cd ${pkgname}-v${pkgver}
-  make PREFIX="${pkgdir}"/usr install
-}

Copied: flashrom/repos/community-x86_64/PKGBUILD (from rev 626283, flashrom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-11 18:20:14 UTC (rev 626284)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+# Contributor: fill <mailbox at fillo.ru>
+# Contributor: Anton Shestakov <engored*ya.ru>
+
+pkgname=flashrom
+pkgver=1.2
+pkgrel=2
+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-compat)
+makedepends=(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.hendricks at gmail.com>
+
+build() {
+  cd ${pkgname}-v${pkgver}
+  arch-meson ../build
+  ninja -v -C ../build
+  # Workaround for meson not installing manpage
+  make
+}
+
+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/
+}


More information about the arch-commits mailing list