summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07f91439a9f1dc2df0bf2bf924abe4cd87aa2352 (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
# Maintainer: Yannik Enss <me@adnidor.de>
pkgname=red_lenlab
pkgver=7.5.2
pkgrel=1
pkgdesc="Lenlab ist eine Oszilloskop-Software für das TI LaunchPad EK-TM4C123GXL."
arch=("x86_64")
url="https://github.com/kalanzun/red_lenlab"
license=('GPL3')
depends=(libusb qt5-base qt5-charts)
source=("https://github.com/kalanzun/$pkgname/archive/refs/tags/$pkgver.tar.gz"
        "20-lenlab.rules")
md5sums=('2b9394c4137d5ec18e69688c9c37788a'
         '1966217f850fd434a9699327cdfe8572')

build() {
    cd "$pkgname-$pkgver"
    qmake red_lenlab.pro
    make
}

package() {
    cd "$pkgname-$pkgver"
    install -D "lenlab/app/lenlab" "$pkgdir/usr/bin/lenlab"
    cd ..
    install -D "20-lenlab.rules" "$pkgdir/etc/udev/rules.d/20-lenlab.rules"
}