summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYuval Adam2015-06-30 15:50:24 +0300
committerYuval Adam2015-06-30 15:50:24 +0300
commitd052f3fc3e76c3d3dc82f71a906e4de2732cfb44 (patch)
treebcd015ec6cd1d4f7a8c4d619547e9f2006b9909a /PKGBUILD
downloadaur-gr-op25-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cc9ef325578
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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: