Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DarkShadow44/417a023ce5d9eaa9da5f43b7b3dc9e0f to your computer and use it in GitHub Desktop.
Save DarkShadow44/417a023ce5d9eaa9da5f43b7b3dc9e0f to your computer and use it in GitHub Desktop.
i-nex Test 1
---
Finfosys.class | 1 ++++
1 file changed, 1 insertions(+)
diff --git a/I-Nex/i-nex/.src/MAIN/Finfosys.class b/I-Nex/i-nex/.src/MAIN/Finfosys.class
index c2778eb..cccc602 100644
--- a/I-Nex/i-nex/.src/MAIN/Finfosys.class
+++ b/I-Nex/i-nex/.src/MAIN/Finfosys.class
@@ -66,6 +66,6 @@ Public Sub Form_Open()
Logs("Call to MLibcpuid14", Logger.Info)
Object.Call(MLibcpuid14, "main")
- Try data = Open "/proc/mtrr" For Input
+ data = Open "/proc/mtrr" For Input
While Not Eof(data)
Line Input #data, sLine
--
2.25.1
# Maintainer : Vassilis Palassopoulos <palasso [at] gmail [dot] com>
# Based on the PKGBUILD from eloaders <eloaders at linux dot pl>
pkgname=i-nex
pkgver=7.6.1
pkgrel=2
pkgdesc="System information tool like hardinfo, sysinfo"
arch=('i686' 'x86_64')
url="http://i-nex.linux.pl/"
license=('LGPL3')
depends=('gambas3-runtime'
'gambas3-gb-image'
'gambas3-gb-form'
'gambas3-gb-desktop'
'gambas3-gb-qt5'
'gambas3-gb-desktop-x11'
'python2'
'libcpuid'
'lsb-release'
'curl'
'procps-ng')
makedepends=('gambas3-devel' 'gcc' 'imagemagick')
source=("https://github.com/i-nex/I-Nex/archive/${pkgver}.tar.gz"
"Fix-error-if-proc-mtrr-doesn-t-exist.patch")
sha256sums=('81236eb729fbd29b356762c0883fe295cf1181cc7d14f00b1dfcceb517b47960'
'a7a54cd18b9e247d08293fbcb94528654a24ca8549ca2a16da6ae48b82fe1a6e')
conflicts=('i-nex-git')
backup=('etc/i-nex/Database/i2c/devices.json'
'etc/i-nex/Database/A6.json'
'etc/i-nex/Database/amd.json'
'etc/i-nex/Database/atom.json'
'etc/i-nex/Database/i3.json'
'etc/i-nex/Database/i5.json'
'etc/i-nex/Database/i7.json'
'etc/i-nex/Database/intel_Core_2_Duo.json'
'etc/i-nex/Database/intel.json'
'etc/i-nex/Database/Opteron.json'
'etc/i-nex/Database/Xeon.json')
prepare() {
cd "${srcdir}/I-Nex-${pkgver}"
patch -Np1 -i "${srcdir}/Fix-error-if-proc-mtrr-doesn-t-exist.patch"
sed -i -e 's|^STATIC.*|STATIC = false|' i-nex.mk
sed -i -e 's|^UDEV_RULES_DIR.*|UDEV_RULES_DIR = /usr/lib/udev/rules.d|' i-nex.mk
cd "I-Nex"
autoreconf -i
}
build() {
cd "${srcdir}/I-Nex-${pkgver}"
cd "I-Nex"
./configure --prefix=/usr
cd ..
MAGICK_OCL_DEVICE=OFF make -j1
}
package() {
cd "${srcdir}/I-Nex-${pkgver}"
MAGICK_OCL_DEVICE=OFF make -j1 DESTDIR="${pkgdir}/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment