[arch-commits] Commit in soapysdr/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Jun 1 14:50:21 UTC 2019
Date: Saturday, June 1, 2019 @ 14:50:21
Author: ffy00
Revision: 476533
update PKGBUILD style
- Only use double quotes when necessary
- Remove unneeded $srcdir references
Modified:
soapysdr/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-01 14:43:49 UTC (rev 476532)
+++ PKGBUILD 2019-06-01 14:50:21 UTC (rev 476533)
@@ -5,18 +5,18 @@
pkgver=0.7.1
_gitver=soapy-sdr-$pkgver
pkgrel=1
-pkgdesc="Vendor and platform neutral SDR support library"
+pkgdesc='Vendor and platform neutral SDR support library'
arch=('x86_64')
-url="https://github.com/pothosware/SoapySDR"
+url='https://github.com/pothosware/SoapySDR'
license=('Boost')
depends=('python')
makedepends=('cmake' 'swig' 'doxygen')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
-sha256sums=('5445fbeb92f1322448bca3647f8cf12cc53d31ec6e0f11e0a543bacf43c8236d')
+sha512sums=('9b2c4251d6362faecf770df021b74e3b387b99699ae4f7d3f145801e2acc901a3803f7b4d2cd50267013f1add6658703dfa5db6db28b8a645f1f8230117123cd')
build() {
- mkdir -p "$srcdir"/$_pkgname-$_gitver/build
- cd "$srcdir"/$_pkgname-$_gitver/build
+ mkdir -p $_pkgname-$_gitver/build
+ cd $_pkgname-$_gitver/build
cmake .. \
-DSOAPY_SDR_EXTVER=ARCH \
@@ -27,7 +27,7 @@
}
package() {
- cd "$srcdir"/$_pkgname-$_gitver/build
+ cd $_pkgname-$_gitver/build
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list