summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e930c2fdd90ab86450b2ab851e73e165ff41763a (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-gsm-git
pkgver=8f121c1
pkgrel=1
pkgdesc="Gnuradio blocks and tools for receiving GSM transmissions"
arch=('any')
url="https://github.com/ptrkrysik/gr-gsm"
license=(unknown)
depends=('gnuradio' 'libosmocore' 'boost' 'swig' 'log4cpp' 'python2-scipy' 'qwt5' 'gnuradio-companion' 'python2-pyqt4')
makedepends=('cmake')
provides=('gr-gsm')
source=('git+https://github.com/ptrkrysik/gr-gsm') 
sha1sums=('SKIP')
_gitname=gr-gsm

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: