[arch-commits] Commit in i2c-tools/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Aug 14 17:41:44 UTC 2020
Date: Friday, August 14, 2020 @ 17:41:43
Author: jelle
Revision: 679252
archrelease: copy trunk to community-x86_64
Added:
i2c-tools/repos/community-x86_64/PKGBUILD
(from rev 679251, i2c-tools/trunk/PKGBUILD)
Deleted:
i2c-tools/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 43 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-14 17:41:35 UTC (rev 679251)
+++ PKGBUILD 2020-08-14 17:41:43 UTC (rev 679252)
@@ -1,36 +0,0 @@
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: DonVla <donvla at users.sourceforge.net>
-
-pkgname=i2c-tools
-pkgver=4.1
-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"
-license=('GPL')
-depends=('perl')
-makedepends=('python' 'git')
-optdepends=('read-edid: for decode-edid script'
- 'python: for smbus module')
-_commit=42b58a1f25d45859295110e9ae2f094776bddfed
-source=("git+https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git#commit=$_commit")
-sha256sums=('SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}"
- make
- make -C eepromer CFLAGS="$CFLAGS -I../include"
- cd py-smbus
- CPPFLAGS="$CPPFLAGS -I../include" python setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- 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"
- rm -rf "${pkgdir}/usr/include"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: i2c-tools/repos/community-x86_64/PKGBUILD (from rev 679251, i2c-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-14 17:41:43 UTC (rev 679252)
@@ -0,0 +1,43 @@
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: DonVla <donvla at users.sourceforge.net>
+
+pkgname=i2c-tools
+pkgver=4.1
+pkgrel=5
+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"
+license=('GPL')
+depends=('perl')
+makedepends=('python' 'git')
+optdepends=('read-edid: for decode-edid script'
+ 'python: for smbus module')
+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"
+)
+sha256sums=(
+ '57b219efd183795bd545dd5a60d9eabbe9dcb6f8fb92bc7ba2122b87f98527d5'
+ 'SKIP'
+)
+validpgpkeys=(
+ '7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A' # Jean Delvare
+)
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make
+ make -C eepromer CFLAGS="$CFLAGS -I../include"
+ cd py-smbus
+ CPPFLAGS="$CPPFLAGS -I../include" python setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ 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"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list