summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc9ef3255784df9506fa52c5fc5b98c6f847812b (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
# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F

pkgname=gr-op25-git
pkgver=2051a96
pkgrel=1
pkgdesc="Software-defined analyzer for APCO P25 signals"
arch=('any')
url="http://op25.osmocom.org/trac/wiki/"
license=('GPL')
depends=('gnuradio' 'boost' 'libpcap' 'gnuradio-osmosdr' 'itpp')
makedepends=('cmake')
provides=('gr-gsm')
source=('git://op25.osmocom.org/op25.git')
sha1sums=('SKIP')
_gitname=op25

pkgver() {
  cd $_gitname
  echo $(git describe --always | sed 's/-/./g')
}

build() {
  cd $_gitname
  mkdir build && cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd $_gitname
  cd build
  make DESTDIR=${pkgdir} install
}

# vim:set ts=2 sw=2 et: