From 582b1361f78ff1ba8bff353c5196170718885f3e Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Thu, 18 Aug 2016 11:53:34 +0200 Subject: [PATCH] i2c-tools: fix source url and mandir location --- i2c-tools/.footprint | 15 ++++++++------- i2c-tools/.md5sum | 2 +- i2c-tools/Pkgfile | 17 +++++++++-------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/i2c-tools/.footprint b/i2c-tools/.footprint index fbec6767a..d76e75bfb 100644 --- a/i2c-tools/.footprint +++ b/i2c-tools/.footprint @@ -4,16 +4,17 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/decode-dimms -rwxr-xr-x root/root usr/bin/decode-edid -rwxr-xr-x root/root usr/bin/decode-vaio -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/i2c-stub-from-dump.8.gz --rw-r--r-- root/root usr/man/man8/i2cdetect.8.gz --rw-r--r-- root/root usr/man/man8/i2cdump.8.gz --rw-r--r-- root/root usr/man/man8/i2cget.8.gz --rw-r--r-- root/root usr/man/man8/i2cset.8.gz drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/i2c-stub-from-dump -rwxr-xr-x root/root usr/sbin/i2cdetect -rwxr-xr-x root/root usr/sbin/i2cdump -rwxr-xr-x root/root usr/sbin/i2cget -rwxr-xr-x root/root usr/sbin/i2cset +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/i2c-stub-from-dump.8.gz +-rw-r--r-- root/root usr/share/man/man8/i2cdetect.8.gz +-rw-r--r-- root/root usr/share/man/man8/i2cdump.8.gz +-rw-r--r-- root/root usr/share/man/man8/i2cget.8.gz +-rw-r--r-- root/root usr/share/man/man8/i2cset.8.gz diff --git a/i2c-tools/.md5sum b/i2c-tools/.md5sum index 273f19fd6..b6af23e16 100644 --- a/i2c-tools/.md5sum +++ b/i2c-tools/.md5sum @@ -1 +1 @@ -f15019e559e378c6e9d5d6299a00df21 i2c-tools-3.1.0.tar.bz2 +7ed75853fe3c3dfd2d0d70d5831abfef V3-1-0.tar.gz diff --git a/i2c-tools/Pkgfile b/i2c-tools/Pkgfile index 78c463232..433cfeb73 100644 --- a/i2c-tools/Pkgfile +++ b/i2c-tools/Pkgfile @@ -1,5 +1,5 @@ # Description: I2C Tools for Linux -# URL: http://www.lm-sensors.org +# URL: https://github.com/groeck/i2c-tools # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net # Packager: Mikhail Kolesnik, mike at openbunker dot org # Depends on: @@ -7,13 +7,14 @@ name=i2c-tools version=3.1.0 release=1 -source=(http://dl.lm-sensors.org/$name/releases/$name-$version.tar.bz2) +source=(https://github.com/groeck/$name/archive/V${version//./-}.tar.gz) build() { - cd $name-$version - sed -i 's|/usr/local|/usr|' Makefile - sed -i 's|/share/man|/man|' Makefile - make PREFIX=/usr - make DESTDIR=$PKG install - rm -rf $PKG/usr/include + cd $name-${version//./-} + sed -e 's|/usr/local|/usr|g' -i Makefile + + make PREFIX=/usr + make DESTDIR=$PKG install + + rm -r $PKG/usr/include }