[arch-commits] Commit in rtl-sdr/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Thu Dec 31 08:50:14 UTC 2020
Date: Thursday, December 31, 2020 @ 08:50:14
Author: kkeen
Revision: 800359
upgpkg: rtl-sdr 1:0.8.0-1
Modified:
rtl-sdr/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-31 08:23:45 UTC (rev 800358)
+++ PKGBUILD 2020-12-31 08:50:14 UTC (rev 800359)
@@ -2,10 +2,8 @@
# Contributor: Michael Düll <mail at akurei.me>
pkgname=rtl-sdr
-# they are just starting to play with tags
-# consider using tags for the pkgver in the future
-pkgver=0.6.0
-pkgrel=2
+pkgver=0.8.0
+pkgrel=1
epoch=1
pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)."
arch=('x86_64')
@@ -16,9 +14,10 @@
conflicts=('rtl-sdr-git')
options=('staticlibs')
install=rtl-sdr.install
-source=("git://git.osmocom.org/rtl-sdr.git#tag=$pkgver"
+#source=("git://git.osmocom.org/rtl-sdr.git#tag=$pkgver"
+source=("rtl-sdr.$pkgver.tgz::https://github.com/librtlsdr/librtlsdr/archive/v$pkgver.tar.gz"
'rtlsdr.conf')
-sha512sums=('SKIP'
+sha512sums=('afef8508ccc1313470e8f5440fd7104298be23737eeae03954be912f93b6000317ec354412939c95956d3958ec4bf6e437d5ddb8817479b210dd5da544fc0a47'
'45be9e6d5b6ab0db3c3210173e5eb76067236e098a5f27552706fd6adcbbd09cc3eeeaaa30efb1a24930543a89ee26806bb3b37135e4a53a62db00dcaaedea74')
_gitname="rtl-sdr"
@@ -31,7 +30,8 @@
#}
build() {
- cd "$srcdir/$_gitname"
+ #cd "$srcdir/$_gitname"
+ cd "$srcdir/librtlsdr-$pkgver"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
@@ -40,9 +40,10 @@
}
package() {
- cd "$srcdir/$_gitname/build"
+ #cd "$srcdir/$_gitname/build"
+ cd "$srcdir/librtlsdr-$pkgver/build"
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/$_gitname/rtl-sdr.rules" "$pkgdir/usr/lib/udev/rules.d/10-rtl-sdr.rules"
+ install -Dm644 "$srcdir/librtlsdr-$pkgver/rtl-sdr.rules" "$pkgdir/usr/lib/udev/rules.d/10-rtl-sdr.rules"
install -Dm644 "$srcdir/rtlsdr.conf" "$pkgdir/etc/modprobe.d/rtlsdr.conf"
}
More information about the arch-commits
mailing list