summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuval Adam2015-06-30 15:50:24 +0300
committerYuval Adam2015-06-30 15:50:24 +0300
commitd052f3fc3e76c3d3dc82f71a906e4de2732cfb44 (patch)
treebcd015ec6cd1d4f7a8c4d619547e9f2006b9909a
downloadaur-d052f3fc3e76c3d3dc82f71a906e4de2732cfb44.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD35
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3e868bc55c7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gr-op25-git
+ pkgdesc = Software-defined analyzer for APCO P25 signals
+ pkgver = 2051a96
+ pkgrel = 1
+ url = http://op25.osmocom.org/trac/wiki/
+ arch = any
+ license = GPL
+ makedepends = cmake
+ depends = gnuradio
+ depends = boost
+ depends = libpcap
+ depends = gnuradio-osmosdr
+ depends = itpp
+ provides = gr-gsm
+ source = git://op25.osmocom.org/op25.git
+ sha1sums = SKIP
+
+pkgname = gr-op25-git
+
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: