summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: befa803877160952bcf6a5faf047dd4a06025038 (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>
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

pkgname=suwidgets-git
pkgver=r377.f7571f7
pkgrel=1
pkgdesc="Sigutils-related widgets"
arch=(i686 x86_64)
license=('custom')
url="https://github.com/BatchDrake/SuWidgets"
depends=(qt6-base sigutils fftw)
makedepends=(git gcc)
provides=('suwidgets')
conflicts=('suwidgets')
source=("$pkgname::git+https://github.com/BatchDrake/SuWidgets.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 SuWidgetsLib.pro
}

build() {
  cd ${pkgname}
  make
}

package() {
  cd ${pkgname}
  INSTALL_ROOT=${pkgdir} make install
}