mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/i2c-tools to 4.2-3
This commit is contained in:
parent
573cd57de8
commit
6d0b6fb98d
3 changed files with 14 additions and 3 deletions
2
community/i2c-tools/45-i2c-tools.rules
Normal file
2
community/i2c-tools/45-i2c-tools.rules
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Assigns the i2c devices to group i2c, and gives that group RW access:
|
||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
|
||||
# Maintainer: Morten Linderud <foxboron@archlinux.org>
|
||||
# Contributor: Timothy Redaelli <timothy.redaelli@gmail.com>
|
||||
# Contributor: DonVla <donvla@users.sourceforge.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
@ -6,7 +7,7 @@
|
|||
|
||||
pkgname=i2c-tools
|
||||
pkgver=4.2
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors"
|
||||
arch=('x86_64')
|
||||
url="https://i2c.wiki.kernel.org/index.php/I2C_Tools"
|
||||
|
@ -19,9 +20,13 @@ optdepends=('read-edid: for decode-edid script'
|
|||
source=(
|
||||
"https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.xz"
|
||||
"https://www.kernel.org/pub/software/utils/i2c-tools/$pkgname-$pkgver.tar.sign"
|
||||
"$pkgname.sysusers"
|
||||
"45-i2c-tools.rules"
|
||||
)
|
||||
sha256sums=('37f2dabc7082d185903ff21d1f584b5dcb4dd2eb2c879bbd8d7c50ae900dacd6'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
'bf5ee4f9876505628c5ce84e84e918c70d66be70b766d62bb138e294608ffbae'
|
||||
'af9dbdc771023cd04f5b0c638c30356e6a824b32f0c04ea61fe929c71122bccd')
|
||||
validpgpkeys=(
|
||||
'7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A' # Jean Delvare
|
||||
)
|
||||
|
@ -40,6 +45,9 @@ package() {
|
|||
install -Dm755 eepromer/eeprom eepromer/eepromer "${pkgdir}/usr/bin"
|
||||
cd py-smbus
|
||||
python setup.py install --prefix "${pkgdir}/usr"
|
||||
|
||||
install -Dm644 "${srcdir}/$pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf"
|
||||
install -Dm644 "${srcdir}/45-i2c-tools.rules" "${pkgdir}/usr/lib/udev/rules.d/45-i2c-tools.rules"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
1
community/i2c-tools/i2c-tools.sysusers
Normal file
1
community/i2c-tools/i2c-tools.sysusers
Normal file
|
@ -0,0 +1 @@
|
|||
g i2c - -
|
Loading…
Reference in a new issue