Date: Wednesday, April 11, 2018 @ 17:10:42
  Author: svenstaro
Revision: 315737

archrelease: copy trunk to community-x86_64

Added:
  i7z/repos/community-x86_64/PKGBUILD
    (from rev 315736, i7z/trunk/PKGBUILD)
Deleted:
  i7z/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 17:10:34 UTC (rev 315736)
+++ PKGBUILD    2018-04-11 17:10:42 UTC (rev 315737)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
-# Contributor: Nathan O <ndowens.aur at gmail dot com>
-
-pkgname=i7z
-pkgver=0.27.2.git1
-pkgrel=4
-pkgdesc="A better i7 (and now i3, i5) reporting tool for Linux"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('ncurses')
-makedepends=('qt4' 'git')
-optdepends=('qt4: for i7z-gui')
-url="https://github.com/ajaiantilal/i7z";
-source=(git://github.com/ajaiantilal/i7z.git#commit=5023138)
-md5sums=('SKIP')
-
-build() {
-    cd ${srcdir}/${pkgname}
-
-    make
-
-    cd GUI
-    qmake-qt4
-    make clean
-    make
-}
-package() {
-    cd ${srcdir}/${pkgname}
-
-    install -Dm 755 i7z ${pkgdir}/usr/bin/i7z
-    install -Dm 755 GUI/i7z_GUI ${pkgdir}/usr/bin/i7z-gui
-}

Copied: i7z/repos/community-x86_64/PKGBUILD (from rev 315736, 
i7z/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-04-11 17:10:42 UTC (rev 315737)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
+# Contributor: Nathan O <ndowens.aur at gmail dot com>
+
+pkgname=i7z
+pkgver=0.27.2.git1
+pkgrel=5
+pkgdesc="A better i7 (and now i3, i5) reporting tool for Linux"
+arch=('x86_64')
+license=('GPL2')
+depends=('ncurses')
+makedepends=('qt4' 'git')
+optdepends=('qt4: for i7z-gui')
+url="https://github.com/afontenot/i7z";
+source=(git://github.com/afontenot/i7z.git#commit=dfbcd77)
+md5sums=('SKIP')
+
+prepare() {
+    cd ${pkgname}
+
+    sed -i "s|/usr/lib/x86_64-linux-gnu/qt4/bin/qmake|qmake-qt4|g" 
src/GUI/Makefile
+}
+
+build() {
+    cd ${pkgname}
+
+    make
+
+    cd src/GUI
+    make
+}
+package() {
+    cd ${pkgname}
+
+    install -Dm 755 i7z ${pkgdir}/usr/bin/i7z
+    install -Dm 755 src/GUI/i7z_GUI ${pkgdir}/usr/bin/i7z-gui
+}

Reply via email to