[arch-commits] Commit in soapyrtlsdr/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun May 26 11:17:25 UTC 2019


    Date: Sunday, May 26, 2019 @ 11:17:24
  Author: ffy00
Revision: 470831

Update PKGBUILD style

- Only use double quotes when necessary
- Only reference to $pkgdir when necessary
- Use sha512 instead of sha256

Modified:
  soapyrtlsdr/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-26 11:14:28 UTC (rev 470830)
+++ PKGBUILD	2019-05-26 11:17:24 UTC (rev 470831)
@@ -5,18 +5,18 @@
 pkgver=0.3.0
 _gitver=soapy-rtlsdr-$pkgver
 pkgrel=1
-pkgdesc="SoapySDR RTL-SDR Support Module"
+pkgdesc='SoapySDR RTL-SDR Support Module'
 arch=('x86_64')
-url="https://github.com/pothosware/SoapyRTLSDR"
+url='https://github.com/pothosware/SoapyRTLSDR'
 license=('MIT')
 depends=('soapysdr' 'rtl-sdr')
 makedepends=('cmake')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$_gitver.tar.gz")
-sha256sums=('9c31c67c2646628b448bbef1307f3880b7e78be8caf7a02cd3cfa4d08dc4075b')
+sha512sums=('ccc0b3a5174bb1b57a79ecd0395ccaa5c3fada8ea7dce08d35a07992e84fef2cb45d92744fb0064857df36ad8120f495c3841b0fdca1870b9ed2328fb639ac21')
 
 build() {
-  mkdir -p "$srcdir"/$_pkgname-$_gitver/build
-  cd "$srcdir"/$_pkgname-$_gitver/build
+  mkdir -p $_pkgname-$_gitver/build
+  cd $_pkgname-$_gitver/build
 
   cmake .. \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -26,7 +26,7 @@
 }
 
 package() {
-  cd "$srcdir"/$_pkgname-$_gitver/build
+  cd $_pkgname-$_gitver/build
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list