summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McCurry2017-04-23 20:00:57 -0400
committerDan McCurry2017-04-23 20:01:18 -0400
commit7261783ea4ef0562ebd07f9412cf46b1dce9446a (patch)
tree7dfe5876d262ea23abf9927d10c78e95e9b8d254
parentdee5045271afe37bc34fdf0dfc0490251a65240c (diff)
downloadaur-7261783ea4ef0562ebd07f9412cf46b1dce9446a.tar.gz
Updated to 2.10 and fixed scripts to match install_lib.sh
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD24
2 files changed, 17 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9938c087afb..65ec3bd29e0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = libsdrplay
pkgdesc = Modules for the SDRplay receiver
- pkgver = 2.09.1
+ pkgver = 2.10.1
pkgrel = 1
url = http://www.sdrplay.com
arch = i686
arch = x86_64
- license = custom
+ license = custom:EULA
depends = libusb>=1.0
- source = local://SDRplay_RSP_API-Linux-2.09.1.run
- md5sums = 6d4cc9527f763f7e9e16ccddd373a751
+ source = local://SDRplay_RSP_API-Linux-2.10.1.run
+ md5sums = cb18ef3510e9b788a8d2a918e35d62c8
pkgname = libsdrplay
diff --git a/PKGBUILD b/PKGBUILD
index 8494e148696..c3eb505d244 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,24 +15,21 @@
#
pkgname=libsdrplay
-pkgver=2.09.1
+pkgver=2.10.1
pkgrel=1
pkgdesc="Modules for the SDRplay receiver"
arch=('i686' 'x86_64')
url="http://www.sdrplay.com"
-license=('custom')
+license=('custom:EULA')
depends=('libusb>=1.0')
source=("local://SDRplay_RSP_API-Linux-${pkgver}.run")
-md5sums=('6d4cc9527f763f7e9e16ccddd373a751')
+md5sums=('cb18ef3510e9b788a8d2a918e35d62c8')
prepare() {
cd ${srcdir}
msg2 "Extracting makeself archive..."
sh SDRplay_RSP_API-Linux-${pkgver}.run --tar xf
-
- msg2 "Writing license to LICENSE..."
- sed -n 's/.*\(Copyright.*\)/\1/p' mirsdrapi-rsp.h > LICENSE
}
package() {
@@ -42,13 +39,18 @@ package() {
_apivers=$(sed -n 's/export VERS="\(.*\)"/\1/p' install_lib.sh)
msg2 "API version: ${_apivers}"
- # These commands are equivalent to the scripts used in the supplied run file
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ # These commands are equivalent to the scripts used in the supplied
+ # run file
+ install -D -m644 sdrplay_license.txt \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m644 "${CARCH}/libmirsdrapi-rsp.so.${_apivers}" \
"${pkgdir}/usr/lib/libmirsdrapi-rsp.so.${_apivers}"
- install -D -m644 mirsdrapi-rsp.h "${pkgdir}/usr/include/mirsdrapi-rsp.h"
- install -D -m644 66-mirics.rules "${pkgdir}/etc/udev/rules.d/66-mirics.rules"
+ install -D -m644 mirsdrapi-rsp.h \
+ "${pkgdir}/usr/include/mirsdrapi-rsp.h"
+ install -D -m644 66-mirics.rules "\
+ ${pkgdir}/etc/udev/rules.d/66-mirics.rules"
+
cd "${pkgdir}/usr/lib"
- ln -s libmirsdrapi-rsp.so.${_apivers} libmirsdrapi-rsp.so.1
+ ln -s libmirsdrapi-rsp.so.${_apivers} libmirsdrapi-rsp.so.2
ln -s libmirsdrapi-rsp.so.${_apivers} libmirsdrapi-rsp.so
}