Package Details: qslave 1.0.2-2

Git Clone URL: https://aur.archlinux.org/qslave.git (read-only, click to copy)
Package Base: qslave
Description: Modbus RTU network emulator for PC
Upstream URL: https://github.com/maisvendoo/qslave
Licenses: GPL
Submitter: maisvendoo
Maintainer: maisvendoo
Last Packager: maisvendoo
Votes: 2
Popularity: 0.000000
First Submitted: 2017-12-24 16:13 (UTC)
Last Updated: 2018-08-08 03:47 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

fow0ryl commented on 2025-08-24 21:52 (UTC) (edited on 2025-08-27 08:12 (UTC) by fow0ryl)

Since there are no updates anymore, I have created my own PBKBUILD


# Contributor: Dmitry Pritykin maisvendoo@gmail.com

pkgname=qslave
pkgver=1.0.2
pkgrel=5
pkgdesc="Modbus RTU network emulator for PC"
arch=('x86_64')
url="https://github.com/maisvendoo/qslave"
license=('GPL')
depends=('qt6-base'
         'qt6-serialport')
makedepends=('git' 'gendesk')

source=("git+https://github.com/fow0ryl/qslave.git#branch=dev")

sha256sums=('SKIP')

build() {

    cd $srcdir
    mkdir -p build
    cd build
    qmake6 ../$pkgname
    make
}

prepare() {

    rm -f $srcdir/qslave.desktop
    gendesk -n --pkgname=$pkgname --pkgdesc=$pkgname
}

package() {

    cd $srcdir/$pkgname
    install -Dm644 LICENSE $pkgdir/usr/share/license/$pkgname/LICENSE
    install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
    install -Dm644 $pkgname-gui/resources/img/logo.png $pkgdir/usr/share/pixmaps/$pkgname.png

    install -Dm644 cfg/example/example.net $pkgdir/usr/share/qslave/example/example.net
    install -Dm644 cfg/example/traffic-light.xml $pkgdir/usr/share/qslave/example/traffic-light.xml
    install -Dm644 cfg/example/XY-MD02.xml $pkgdir/usr/share/qslave/example/XY-MD02.xml

    cd ../bin
    install -Dm755 $pkgname-gui $pkgdir/usr/bin/$pkgname 
}

micwoj92 commented on 2021-05-10 05:20 (UTC)

This should be -git package.

A_Bart commented on 2020-11-26 11:31 (UTC)

I needed to install qt5-serialport to make it compile