summaryrefslogtreecommitdiff
path: root/community/flashrom/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/flashrom/PKGBUILD')
-rw-r--r--community/flashrom/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/flashrom/PKGBUILD b/community/flashrom/PKGBUILD
new file mode 100644
index 000000000..77539783c
--- /dev/null
+++ b/community/flashrom/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 38872 2011-02-02 16:42:39Z giovanni $
+# Maintainer: 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.3
+pkgrel=1
+pkgdesc="Utility for reading, writing, erasing and verifying flash ROM chips"
+url="http://www.coreboot.org/Flashrom"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libftdi')
+makedepends=('zlib' 'pciutils')
+source=("http://qa.coreboot.org/releases/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('eccdec2764223f5d2839bf577380eaa9')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX="${pkgdir}/usr" install || return 1
+}