updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / i2c-tools / PKGBUILD
blobdb23f5c5d5383c9bccde0bca2d63969bea51cd47
1 # Contributor: DonVla <donvla@users.sourceforge.net>
3 pkgname=i2c-tools
4 pkgver=3.1.0
5 pkgrel=2
6 pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
7 arch=('i686' 'x86_64')
8 url="http://www.lm-sensors.org/wiki/I2CTools"
9 license=('GPL')
10 depends=('lm_sensors' 'perl' 'read-edid')
11 options=(strip)
12 source=(http://dl.lm-sensors.org/${pkgname}/releases/${pkgname}-${pkgver}.tar.bz2 Makefile.patch)
13 md5sums=('f15019e559e378c6e9d5d6299a00df21'
14          '527fa593781273f77b89672992b14f5e')
16 build() {
17   cd "${srcdir}/${pkgname}-${pkgver}" 
18   patch -p0 < ${srcdir}/Makefile.patch && make
21 package() {
22   cd "${srcdir}/${pkgname}-${pkgver}" && make DESTDIR="${pkgdir}" install
23   rm -f "${pkgdir}/usr/include/linux/i2c-dev.h"
25 # vim:set ts=2 sw=2 et: