git » flashprog.git » commit 7fd2873

HTTPS+GPG, rebuild just in case

author Bruno Pagani
2018-01-18 19:04:22 UTC
committer Bruno Pagani
2018-01-18 19:04:22 UTC
parent d54728b897c1e6694637b5ca679ab5cf12db3176

HTTPS+GPG, rebuild just in case

PKGBUILD +10 -9

diff --git a/PKGBUILD b/PKGBUILD
index 113babe..1a9c125 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer:
+# Maintainer: Bruno Pagani <archange@archlinux.org>
 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Cilyan Olowen <gaknar@gmail.com>
 # Contributor: fill <mailbox@fillo.ru>
@@ -6,30 +6,31 @@
 
 pkgname=flashrom
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
-url="http://www.flashrom.org/"
+url="https://www.flashrom.org/"
 arch=('x86_64')
 license=('GPL')
 depends=('libftdi' 'pciutils' 'libusb-compat')
 optdepends=('dmidecode: for SMBIOS/DMI table decoder support')
-source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2")
-sha256sums=('3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64')
+source=("https://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha256sums=('3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64' 'SKIP')
+validpgpkeys=('58A4868B25C7CFD662FB0132A3EB95B8D9780F68') # David Hendricks (packaging key) <david.hendricks@gmail.com>
 
 prepare() {
-cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
   sed -i "s:sbin:bin:g" Makefile
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
 
-  make PREFIX="$pkgdir"/usr install
+  make PREFIX="${pkgdir}"/usr install
 }