summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81c6faab94b221c5b7265061774cdd1ed964ee0b (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: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=multimon-ng-git
pkgver=20240106
pkgrel=2
pkgdesc="An sdr decoder, supports pocsag, ufsk, clipfsk, afsk, hapn, fsk, dtmf, zvei."
url="http://dekar.wc3edit.net/2012/05/24/multimonng/"
arch=('i686' 'x86_64')
license=("GPL2")
depends=('ncurses' 'libpulse' 'libx11')
makedepends=('git' 'qt4')
optdepends=('sox: wav conversion')
provides=('multimon-ng')
conflicts=('multimon-ng')
source=("git+https://github.com/EliasOenal/multimonNG.git")
md5sums=('SKIP')
_gitname="multimonNG"

pkgver() {
    cd "$srcdir/$_gitname"
    git show -s --format="%ci" HEAD | cut -d ' ' -f 1 | tr -d '-'
}

build() {
  cd "$srcdir/$_gitname"

  qmake-qt4 PREFIX=/usr multimon-ng.pro
  sed -i 's/-lpulse-simple/& -lpulse/' Makefile
  make PREFIX=/usr
}

package() {
  cd "$srcdir/$_gitname"
  #make DESTDIR=$pkgdir install
  install -Dm755 multimon-ng "$pkgdir/usr/bin/multimon-ng"
}