git » flashprog.git » commit 34a9ccf

Rebuild (FS#54432)

author Antonio Rojas
2017-06-17 14:37:07 UTC
committer Antonio Rojas
2017-06-17 14:37:07 UTC
parent 24cf0dc3097f34f202449bdf7f3c131ce6bb04d4

Rebuild (FS#54432)

PKGBUILD +8 -7

diff --git a/PKGBUILD b/PKGBUILD
index bc8209c..6a8478f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Maintainer:
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
 # Contributor: Cilyan Olowen <gaknar@gmail.com>
 # Contributor: fill <mailbox@fillo.ru>
 # Contributor: Anton Shestakov <engored*ya.ru>
 
 pkgname=flashrom
 pkgver=0.9.9
-pkgrel=1
+pkgrel=2
 pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
 url="http://www.flashrom.org/"
 arch=('i686' 'x86_64')
@@ -13,22 +14,22 @@ license=('GPL')
 depends=('libftdi-compat' 'pciutils')
 optdepends=('dmidecode: for SMBIOS/DMI table decoder support')
 source=("http://download.flashrom.org/releases/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('aab9c98925d9cfb5ffb28b67a6112530')
+sha256sums=('cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45')
 
 prepare() {
-cd "${srcdir}/${pkgname}-${pkgver}"
+cd $pkgname-$pkgver
 
   sed -i "s:sbin:bin:g" Makefile
 }
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
 
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
 
-  make PREFIX="${pkgdir}/usr" install
+  make PREFIX="$pkgdir"/usr install
 }