Date: Friday, March 23, 2018 @ 11:02:01
  Author: kkeen
Revision: 311307

upgpkg: gqrx 2.11.1-1

Modified:
  gqrx/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-23 10:53:36 UTC (rev 311306)
+++ PKGBUILD    2018-03-23 11:02:01 UTC (rev 311307)
@@ -3,7 +3,7 @@
 # Contributor: Dominik Heidler <dheid...@gmail.com>
 
 pkgname=gqrx
-pkgver=2.10
+pkgver=2.11.1
 pkgrel=1
 pkgdesc="Interactive SDR receiver waterfall for many devices."
 arch=('x86_64')
@@ -11,19 +11,20 @@
 license=('GPL')
 depends=('qt5-svg' 'libpulse' 'gnuradio-osmosdr' 'libxkbcommon-x11')
 makedepends=('boost')
-source=("$pkgname-$pkgver.tgz::https://github.com/csete/gqrx/archive/v$pkgver.tar.gz";)
-md5sums=('ff28a36fdd636f5fee09be8a656c11f7')
+#source=("$pkgname-$pkgver.tgz::https://github.com/csete/gqrx/archive/v$pkgver.tar.gz";)
+source=("https://github.com/csete/gqrx/releases/download/v$pkgver/gqrx-sdr-$pkgver-src.tar.xz";)
+md5sums=('e6aa0d72de6420fc4fec00669996eac7')
 
 prepare() {
   cd "$srcdir"
-  echo "StartupNotify=false" >> gqrx-$pkgver/gqrx.desktop
-  cp -r gqrx-$pkgver gqrx-$pkgver-alsa
+  echo "StartupNotify=false" >> gqrx-sdr-$pkgver/gqrx.desktop
+  cp -r gqrx-sdr-$pkgver gqrx-$pkgver-alsa
   cd gqrx-$pkgver-alsa
   sed -i 's/AUDIO_BACKEND = pulse/#&/' gqrx.pro
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-sdr-$pkgver"
   rm -rf build
   mkdir build
   cd build
@@ -38,11 +39,11 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/$pkgname-sdr-$pkgver"
   install -Dm644 "$pkgname.desktop" 
"$pkgdir/usr/share/applications/$pkgname.desktop"
   install -Dm644 "resources/icons/gqrx.svg" 
"$pkgdir/usr/share/pixmaps/gqrx.svg"
 
-  cd "$srcdir/$pkgname-$pkgver/build"
+  cd "$srcdir/$pkgname-sdr-$pkgver/build"
   make install INSTALL_ROOT="$pkgdir"
 
   cd "$srcdir/$pkgname-$pkgver-alsa/build"

Reply via email to