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

Evangelos Foutras foutrelis at archlinux.org
Fri Sep 13 13:17:55 UTC 2019


    Date: Friday, September 13, 2019 @ 13:17:54
  Author: foutrelis
Revision: 510325

Fix prepare()

Modified:
  soapyosmo/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-13 13:13:25 UTC (rev 510324)
+++ PKGBUILD	2019-09-13 13:17:54 UTC (rev 510325)
@@ -20,8 +20,9 @@
 sha512sums=('a1aa5f3c84f5e9cf8cc0329445836162586c3fd301f126310e2a3131c170f1d213fcb214162a28c448a49f57fcf177b7a00d10967ba88a8434a6ac26fa2264e8')
 
 prepare() {
-  sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")|' $_pkgname-$_gitver/CMakeLists.txt
-  sed 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS chrono|' -i CMakeLists.txt gr-osmosdr/CMakeLists.txt
+  cd $_pkgname-$_gitver
+  sed -i 's|#ADD_DEFINITIONS(-Wconversion)|SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")|' CMakeLists.txt
+  sed -i 's|SET(BOOST_REQUIRED_COMPONENTS|SET(BOOST_REQUIRED_COMPONENTS chrono|' CMakeLists.txt gr-osmosdr/CMakeLists.txt
 }
 
 build() {



More information about the arch-commits mailing list