summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3c3eed3ed8a37d0ebbea1a53ea6a575adc761d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: iris snazzsinclair@gmail.com
pkgname=revhubinterface
_pkgname=RevHubInterface
pkgver=1.4
pkgrel=1
pkgdesc="Software for controling a REV Expansion Hub on a PC over USB"
arch=('any')
url="https://github.com/unofficial-rev-port/REVHubInterface"
license=('BSD3')
makedepends=(
			'git'
            'pyinstaller'
            'python>=3.7'
		    'python-pyserial'
            'tk'
            'python-sv-ttk'
)
source=("$_pkgname::git+https://github.com/unofficial-rev-port/REVHubInterface.git#tag=v1.4")
b2sums=('SKIP')
build(){
    cd $_pkgname
    git checkout v$pkgver
    pyinstaller REVHubInterface.spec
}
package(){
    cd $_pkgname
    cp org.unofficialrevport.REVHubInterface.Devel.png revhubinterface.png
    install -Dm644 -t "${pkgdir}/usr/share/pixmaps"  revhubinterface.png
    install -Dm644 -t "${pkgdir}/usr/share/applications" revhubinterface.desktop
    cd dist
    cp REVHubInterface revhubinterface
    install -Dm755 -t "${pkgdir}/usr/bin" revhubinterface
}