summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ebc35bdc7196f5060d45a1d242c099d6931c6518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Nikolas Koesling <nikolas@koesling.network>

pkgname=shm-modbus
pkgrel=3
pkgver=2.1.3
pkgdesc="A collection of applications to simulate a shared memory based Modbus client"
url="https://github.com/SHMModbus/SHM_Modbus"
license=('GPL-3.0-only')
arch=('x86_64' 'aarch64')
depends=('dump-shm' 'modbus-rtu-client-shm' 'modbus-tcp-client-shm' 'shared-mem-random' 'stdin-to-modbus-shm' 'write-shm' 'shm-modbus-signal-gen' 'wago-modbus-coupler-shm' 'shm-modbus-gui')
source=("git+https://github.com/SHMModbus/SHM_Modbus.git#tag=v${pkgver}"
        "https://gist.githubusercontent.com/NikolasK-source/25f30f740396723501a51a4bc075ced7/raw/bcd66db1a4f65fd3657fa12fffda2ee8b3de19c9/shm-modbus")

sha256sums=('SKIP'
            '02c698aafa50d7774df6650e1f85c888140927556d95078fe512a1361be024de')

package() {
    install -Dm755 shm-modbus "${pkgdir}/usr/bin/shm-modbus"

    cd SHM_Modbus
    install -Dm755 shm-modbus "${pkgdir}/usr/share/shm-modbus/shm-modbus.sh"
}