[arch-commits] Commit in gnuradio/trunk (PKGBUILD gnuradio.install)
Kyle Keen
kkeen at nymeria.archlinux.org
Sat Nov 2 16:16:20 UTC 2013
Date: Saturday, November 2, 2013 @ 17:16:19
Author: kkeen
Revision: 100354
upgpkg: gnuradio 3.7.1-8, fix FS#37590
Added:
gnuradio/trunk/gnuradio.install
Modified:
gnuradio/trunk/PKGBUILD
------------------+
PKGBUILD | 11 +++++++----
gnuradio.install | 11 +++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-02 15:51:58 UTC (rev 100353)
+++ PKGBUILD 2013-11-02 16:16:19 UTC (rev 100354)
@@ -3,7 +3,7 @@
# Contributor: Dominik Heidler <dheidler at 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 @@
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 @@
'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 @@
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|" \
Added: gnuradio.install
===================================================================
--- gnuradio.install (rev 0)
+++ gnuradio.install 2013-11-02 16:16:19 UTC (rev 100354)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list