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

Andrea Scarpino andrea at archlinux.org
Sun Jan 17 18:38:36 UTC 2010


    Date: Sunday, January 17, 2010 @ 13:38:35
  Author: andrea
Revision: 63518

cleanup build

Modified:
  ktorrent/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-17 18:38:31 UTC (rev 63517)
+++ PKGBUILD	2010-01-17 18:38:35 UTC (rev 63518)
@@ -27,11 +27,14 @@
 	# build time patch
 	patch -Np0 -i ${srcdir}/httpserver.patch || return 1
 
-	cmake .	-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_SKIP_RPATH=ON \
-		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-		-DENABLE_MEDIAPLAYER_PLUGIN=false
+	cd ${srcdir}
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${pkgver} \
+	  -DCMAKE_BUILD_TYPE=Release \
+	  -DCMAKE_INSTALL_PREFIX=/usr \
+	  -DCMAKE_SKIP_RPATH=ON \
+	  -DENABLE_MEDIAPLAYER_PLUGIN=false
 	make || return 1
 	make DESTDIR=${pkgdir} install 
 }




More information about the arch-commits mailing list