community/i2c-tools to 4.1-4

This commit is contained in:
Kevin Mihelich 2020-06-14 03:54:27 +00:00
parent d4a5c68b39
commit 722f356702

View file

@ -6,7 +6,7 @@
pkgname=i2c-tools
pkgver=4.1
pkgrel=3
pkgrel=4
pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
arch=('x86_64')
url="http://www.lm-sensors.org/wiki/I2CTools"
@ -16,7 +16,7 @@ makedepends=('python' 'git')
optdepends=('read-edid: for decode-edid script'
'python: for smbus module')
options=('!makeflags')
_commit=629185af1552b1866052c6973c930f1a26992dfc
_commit=42b58a1f25d45859295110e9ae2f094776bddfed
source=("git+https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git#commit=$_commit")
sha256sums=('SKIP')
@ -30,7 +30,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}"
make prefix="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
make PREFIX="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
install -Dm755 eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
cd py-smbus
python setup.py install --prefix "${pkgdir}/usr"