summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/i2c-tools/PKGBUILD
blob: db1700deda14fc4cdee76fc7c360d1dbb5ec9e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Contributor: DonVla <donvla@users.sourceforge.net>

pkgname=i2c-tools
pkgver=3.0.2
pkgrel=1
pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
arch=('i686' 'x86_64')
url="http://www.lm-sensors.org/wiki/I2CTools"
license=('GPL')
depends=('lm_sensors' 'perl' 'read-edid')
options=(strip)
source=(http://dl.lm-sensors.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2 Makefile.patch)
md5sums=('b546345ac19db56719dea6b8199f11e0' '49d17834f9d7e68407ec46785e47bb94')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p0 < $startdir/Makefile.patch
  make || return 1
  make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: