summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 382ab5d53b1697a11d65bfe65268bf9cee08b6a9 (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
# Mainintainer : Lucas Rooyakkers <lucas dot rooyakkers at queensu at ca>

pkgname='gr-ieee802-11'
pkgver='b83d008'
pkgrel=2
pkgdesc="An IEEE 802.11 a/g/p transceiver for GNU Radio."
arch=('any')
url="https://github.com/bastibl/gr-ieee802-11"
license=('unknown')
depends=('gnuradio' 'swig' 'log4cpp' 'gr-foo')
makedepends=('cmake' 'boost')
provides=('gr-ieee802-11')
source=('git+https://github.com/bastibl/gr-ieee802-11')
sha1sums=('SKIP')
_gitname=gr-ieee802-11

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

build() {
  cd "$_gitname"
  git checkout master
  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: