From 1ce58386c5ee7086ac6848f35cade5d45bf86764 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 3 Nov 2013 01:06:08 -0700 Subject: Sun Nov 3 01:05:44 PDT 2013 --- community/gnuradio/PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'community/gnuradio/PKGBUILD') 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 # Contributor: Dominik Heidler 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|" \ -- cgit v1.2.3-54-g00ecf