summaryrefslogtreecommitdiff
path: root/community/gnuradio/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
commit1ce58386c5ee7086ac6848f35cade5d45bf86764 (patch)
treea02b709cc5107313c2a640ad192b4a4cb790df4f /community/gnuradio/PKGBUILD
parent02c5897cefdb4df89590f03c12870ad263240ebd (diff)
Sun Nov 3 01:05:44 PDT 2013
Diffstat (limited to 'community/gnuradio/PKGBUILD')
-rw-r--r--community/gnuradio/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/gnuradio/PKGBUILD b/community/gnuradio/PKGBUILD
index 724854bfe..3200dee0a 100644
--- a/community/gnuradio/PKGBUILD
+++ b/community/gnuradio/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 99273 2013-10-26 16:24:39Z kkeen $
+# $Id: PKGBUILD 100355 2013-11-02 16:17:09Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Dominik Heidler <dheidler@gmail.com>
pkgname=gnuradio
pkgver=3.7.1
-pkgrel=7
+pkgrel=8
pkgdesc="General purpose DSP and SDR toolkit. Supports usrp and fcd."
arch=('i686' 'x86_64')
url="http://gnuradio.org"
@@ -12,7 +12,6 @@ depends=('fftw' 'python2-numpy' 'cppunit' 'swig' 'gsl' 'blas' 'guile' 'boost-lib
makedepends=('boost' 'cmake' 'python2-lxml' 'pygtk' 'wxpython' 'python2-cheetah')
optdepends=('python2-cheetah: gnuradio-companion'
'python2-lxml: gnuradio-companion'
- 'pyxml: gnuradio-companion'
'pygtk: gnuradio-companion'
'wxpython: gr-wxgui'
'qwtplot3d: gr-qtgui'
@@ -20,11 +19,13 @@ optdepends=('python2-cheetah: gnuradio-companion'
'doxygen: autogenerated documentation'
'pkgconfig: ?')
conflicts=('gnuradio-git')
+install=gnuradio.install
# todo
# add gr-osmosdr-git to optdepends
# split the gui components?
# build doxygen docs?
+# icons
source=("http://gnuradio.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
"21-fcd.rules")
@@ -54,8 +55,10 @@ check() {
package() {
cd "$srcdir"
- install -D -m644 21-fcd.rules "$pkgdir/usr/lib/udev/rules.d/21-fcd.rules"
- cd "$pkgname-$pkgver/build"
+ install -Dm644 21-fcd.rules "$pkgdir/usr/lib/udev/rules.d/21-fcd.rules"
+ cd "$srcdir/$pkgname-$pkgver/grc/freedesktop"
+ install -Dm644 gnuradio-grc.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ cd "$srcdir/$pkgname-$pkgver/build"
make DESTDIR="$pkgdir" install
msg "Replacing filenames to use python2."
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \