blob: 74985852192e1410ff7be941748d8cf973ff5ddc (
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: Ben Brown <benjamb at pm dot me>
pkgname=dlt-viewer-git
pkgver=2.21.2.r23.ga3c77c3
pkgrel=1
pkgdesc="Diagnostic Log and Trace viewing program"
url="https://github.com/COVESA/dlt-viewer"
arch=('x86_64')
license=('MPL2')
depends=('qt5-base' 'qt5-serialport')
makedepends=('git')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-*}"
git describe --tags --long | sed 's/^v//;s/[^-]*-g/r&/;s/-/./g'
}
build() {
cd "${pkgname%-*}"
qmake BuildDltViewer.pro \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}"
make
}
package() {
cd "${pkgname%-*}"
make INSTALL_ROOT="${pkgdir}" install
}
|