summaryrefslogtreecommitdiff
path: root/community/i2c-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/i2c-tools/PKGBUILD')
-rw-r--r--community/i2c-tools/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/i2c-tools/PKGBUILD b/community/i2c-tools/PKGBUILD
index 58e4491d7..858749946 100644
--- a/community/i2c-tools/PKGBUILD
+++ b/community/i2c-tools/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 73640 2012-07-12 13:05:49Z tredaelli $
+# $Id: PKGBUILD 92028 2013-05-30 23:36:57Z seblu $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: DonVla <donvla@users.sourceforge.net>
pkgname=i2c-tools
pkgver=3.1.0
-pkgrel=3
+pkgrel=5
pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lm-sensors.org/wiki/I2CTools"
@@ -15,7 +15,7 @@ source=(http://dl.lm-sensors.org/${pkgname}/releases/${pkgname}-${pkgver}.tar.bz
md5sums=('f15019e559e378c6e9d5d6299a00df21')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make
make -C eepromer CFLAGS="$CFLAGS -I../include"
cd py-smbus
@@ -24,8 +24,8 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make prefix="${pkgdir}/usr" install
- install -Dm755 eepromer/eeprog eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/sbin"
+ make prefix="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
+ install -Dm755 eepromer/eeprog eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
cd py-smbus
python2 setup.py install --prefix "${pkgdir}/usr"
rm -rf "${pkgdir}/usr/include"