Package Details: openhantek6022 3.3.3-1

Git Clone URL: https://aur.archlinux.org/openhantek6022.git (read-only, click to copy)
Package Base: openhantek6022
Description: A DSO software for Hantek USB digital signal oscilloscopes 6022BE/BL.
Upstream URL: https://github.com/OpenHantek/OpenHantek6022
Licenses: GPL3
Conflicts: openhantek, openhantek-git, openhantek6022-git
Provides: openhantek6022
Submitter: thomasandres
Maintainer: thomasandres
Last Packager: thomasandres
Votes: 5
Popularity: 0.31
First Submitted: 2021-02-21 21:39 (UTC)
Last Updated: 2023-10-18 21:02 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

jtsymon commented on 2022-09-23 09:30 (UTC)

The build doesn't work when CMAKE_GENERATOR is set to something other than make.

I should probably just build in a clean environment, but the following change fixes the problem:

diff --git a/PKGBUILD b/PKGBUILD
index 7c0050e..9b81a92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,12 +24,12 @@ build() {
     [[ ! -d build ]] && mkdir -p build
     cd build
     cmake \
-        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
         ../
-    make
+    cmake --build .
 }

 package() {
     cd $_gitname/build
-    make DESTDIR=$pkgdir install
+    cmake --install .
 }

WrathOfThePixel commented on 2021-04-24 11:44 (UTC)

@thomasandres Like a charm, thanks =D

thomasandres commented on 2021-04-23 20:04 (UTC)

@WrathOfThePixel, i fixed the error. It should work now.

@BrandonMcCluskey, the udev file is alredy included in /usr/lib/udev/rules.d/60-openhantek.rules There is no need to copy it to /etc/udev/rules.d

BrandonMcCluskey commented on 2021-04-23 07:59 (UTC)

Would be nice to add udev rule for USB acccess to PKGBUILD as mentioned here: https://github.com/OpenHantek/OpenHantek6022#Run%20OpenHantek6022

WrathOfThePixel commented on 2021-04-20 14:53 (UTC) (edited on 2021-04-20 14:54 (UTC) by WrathOfThePixel)

Last update doesn't build (Manjaro)

==> Extracting sources...
  -> Creating working copy of OpenHantek6022 git repo...
Cloning into 'OpenHantek6022'...
done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.

==> Starting prepare()...
sed: can't read CMakeLists.txt: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...