summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCengiz Can2018-11-18 11:58:31 +0300
committerCengiz Can2018-11-18 11:58:31 +0300
commitd75b8aeaf9862c2dfbeab0acee787d0c6c4f7b98 (patch)
tree6a794c54581ec2f3e9b02a2b9bfa35ff42d27de4
parent21af5af15ef0d6055e926a96f96c1196ceb3d991 (diff)
downloadaur-d75b8aeaf9862c2dfbeab0acee787d0c6c4f7b98.tar.gz
update make install to include DESTDIR
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 873a8c87824..4bc02a68b9b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=i2c-tools-git
_pkgname=i2c-tools
-pkgver=r317.1831b61
-pkgrel=2
+pkgver=r332.4b28579
+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="https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/about/"
@@ -33,7 +33,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}"
- make prefix="${pkgdir}/usr" sbindir="$pkgdir/usr/bin" install
+ make DESTDIR="${pkgdir}" PREFIX="/usr" sbindir="/usr/bin" install
install -Dm755 eeprog/eeprog "${pkgdir}/usr/bin"
install -Dm755 eeprog/eeprog.8 "${pkgdir}/usr/share/man/man8"
}