summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 684c58b7173663a7dff925d2b48f854df91daf01 (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
34
35
36
# Maintainer: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
# Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

pkgname=sigdigger-git
pkgver=r930.5097e66
pkgrel=1
pkgdesc="Qt-based digital signal analyzer, using Suscan core and Sigutils DSP library"
arch=(any)
license=('custom')
url="https://github.com/BatchDrake/SigDigger"
depends=('qt6-base' 'sigutils' 'suscan' 'suwidgets')
makedepends=('git' 'gcc')
provides=('sigdigger')
conflicts=('sigdigger')
source=("$pkgname::git+https://github.com/BatchDrake/SigDigger.git#branch=develop")
sha1sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd ${pkgname}
  qmake6 SigDigger.pro
}

build() {
  cd ${pkgname}
  make
}

package() {
  cd ${pkgname}
  install -Dm755 SigDigger ${pkgdir}/usr/bin/sigdigger
}