summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Whichard2015-09-21 12:17:49 -0400
committerDylan Whichard2015-09-21 12:17:49 -0400
commitb8febe23b95a793d9506709d051a5cb4d97dceb5 (patch)
treebd1e6f17a3c4a501363527a584945f8fec968569
downloadaur-b8febe23b95a793d9506709d051a5cb4d97dceb5.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD41
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0fb495c34d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by makepkg 4.2.1
+# Mon Sep 21 16:15:43 UTC 2015
+pkgbase = i2c-tools-git
+ pkgdesc = Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors.
+ pkgver = r290.9726bed
+ pkgrel = 1
+ url = http://www.lm-sensors.org/wiki/I2CTools
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ license = GPL
+ makedepends = git
+ optdepends = read-edid: for decode-edid script
+ optdepends = python2-smbus: python2 bindings
+ optdepends = python-smbus: python3 bindings
+ provides = i2c-tools
+ provides = i2c-tools-svn
+ conflicts = i2c-tools
+ conflicts = i2c-tools-svn
+ source = i2c-tools-git::git+https://github.com/groeck/i2c-tools.git
+ md5sums = SKIP
+
+pkgname = i2c-tools-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f8bc0e644c9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Dylan Whichard <dylan at whichard dot com>
+# Contributor: Michael Goehler <somebody dot here at gmx dot de>
+# Contributor: Timothy Redaelli <timothy dot redaelli at gmail dot com>
+# Contributor: DonVla <donvla at users dot sourceforge dot net>
+
+pkgname=i2c-tools-git
+_pkgname=i2c-tools
+pkgver=r290.9726bed
+pkgrel=1
+pkgdesc="Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors."
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+url="http://www.lm-sensors.org/wiki/I2CTools"
+license=('GPL')
+provides=('i2c-tools' 'i2c-tools-svn')
+conflicts=('i2c-tools' 'i2c-tools-svn')
+makedepends=('git')
+optdepends=('read-edid: for decode-edid script'
+ 'python2-smbus: python2 bindings'
+ 'python-smbus: python3 bindings')
+source=('i2c-tools-git::git+https://github.com/groeck/i2c-tools.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ make clean
+ make EXTRA=eeprog
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make prefix="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
+ install -Dm755 eeprog/eeprog "${pkgdir}/usr/bin"
+ install -Dm755 eeprog/eeprog.8 "${pkgdir}/usr/share/man/man8"
+}
+
+# vim:set ts=2 sw=2 et: