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

Filipe Laíns ffy00 at archlinux.org
Thu May 16 19:59:26 UTC 2019


    Date: Thursday, May 16, 2019 @ 19:59:25
  Author: ffy00
Revision: 467581

remove unneeded $srcdir references

Modified:
  dsdcc/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-16 19:56:43 UTC (rev 467580)
+++ PKGBUILD	2019-05-16 19:59:25 UTC (rev 467581)
@@ -14,7 +14,8 @@
 sha512sums=('da4aefee4e8d31507991b4a21df19858826b39b32820c8060fba21138d3216a8fe0fa2399050ab07383654eddf25696985361a853ef0cba0366957f249b24bee')
 
 prepare() {
-  cd "$srcdir"/$pkgname-$pkgver
+  cd $pkgname-$pkgver
+
   sed -i 's|LIBSERIAL_NAMES|LIBSERIALDV_NAMES|g' cmake/Modules/FindSerialDV.cmake
 }
 
@@ -38,7 +39,7 @@
 }
 
 check() {
-  cd "$srcdir"/$pkgname-$pkgver/testfec
+  cd $pkgname-$pkgver/testfec
 
   ./qr
   ./golay20
@@ -54,7 +55,7 @@
 }
 
 package() {
-  cd "$srcdir"/$pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
 
   make DESTDIR="$pkgdir" install
 }


More information about the arch-commits mailing list