author | Bruno Pagani
<archange@archlinux.org> 2019-04-02 16:43:22 UTC |
committer | Bruno Pagani
<archange@archlinux.org> 2019-04-02 16:43:22 UTC |
parent | 7fd2873711422bd3924a006d93aea05966ddda61 |
PKGBUILD | +12 | -15 |
diff --git a/PKGBUILD b/PKGBUILD index 1a9c125..5cf4b50 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,32 +5,29 @@ # Contributor: Anton Shestakov <engored*ya.ru> pkgname=flashrom -pkgver=1.0 -pkgrel=2 +pkgver=1.0.1 +pkgrel=1 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips" +arch=(x86_64) url="https://www.flashrom.org/" -arch=('x86_64') -license=('GPL') -depends=('libftdi' 'pciutils' 'libusb-compat') +license=(GPL) +depends=(libftdi pciutils libusb-compat) optdepends=('dmidecode: for SMBIOS/DMI table decoder support') -source=("https://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2"{,.asc}) -sha256sums=('3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64' 'SKIP') -validpgpkeys=('58A4868B25C7CFD662FB0132A3EB95B8D9780F68') # David Hendricks (packaging key) <david.hendricks@gmail.com> +source=("https://download.flashrom.org/releases/${pkgname}-v${pkgver}.tar.bz2"{,.asc}) +sha256sums=(d579f8dda5b69eeab55a658d59ffbe185443e4e8477e751aaf38c36468cede44 SKIP) +validpgpkeys=(58A4868B25C7CFD662FB0132A3EB95B8D9780F68) # David Hendricks (packaging key) <david.hendricks@gmail.com> prepare() { - cd ${pkgname}-${pkgver} - - sed -i "s:sbin:bin:g" Makefile + cd ${pkgname}-v${pkgver} + sed -i 's:sbin:bin:g' Makefile } build() { - cd ${pkgname}-${pkgver} - + cd ${pkgname}-v${pkgver} make } package() { - cd ${pkgname}-${pkgver} - + cd ${pkgname}-v${pkgver} make PREFIX="${pkgdir}"/usr install }