blob: c8fba05ade12070f7562e1fc95b2bb7bf2b88729 (
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: Parker Reed <parker.l.reed@gmail.com>
pkgname=qtdmm-qt5-git
_pkgname=qtdmm
pkgver=0.9.8.r23.gc8a2714
pkgrel=1
pkgdesc="A DMM readout software including a configurable recorder (QT5 port)"
arch=('x86_64')
url="https://github.com/tuxmaster/${_pkgname}"
license=('GPL3')
provides=('qtdmm' 'qtdmm-qt5')
conflicts=('qtdmm' 'qtdmm-qt5')
depends=('qt5-base' 'qt5-serialport')
makedepends=('qt5-tools' 'git')
source=("$pkgname::git+https://github.com/tuxmaster/QtDMM.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
qmake-qt5
make
}
package() {
cd $pkgname
install -D -m644 qtdmm.png "$pkgdir/usr/share/pixmaps/qtdmm.png"
install -D -m644 QtDMM.desktop "$pkgdir/usr/share/applications/QtDMM.desktop"
install -D -m755 bin/qtdmm "$pkgdir/usr/bin/qtdmm"
}
|