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

Andrea Scarpino andrea at archlinux.org
Sun Jan 17 13:38:31 EST 2010


    Date: Sunday, January 17, 2010 @ 13:38:31
  Author: andrea
Revision: 63517

cleanup build

Modified:
  kipi-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-17 18:38:27 UTC (rev 63516)
+++ PKGBUILD	2010-01-17 18:38:31 UTC (rev 63517)
@@ -16,12 +16,13 @@
 install=kipi-plugins.install
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $srcdir
   mkdir build
   cd build
-  cmake ../ -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_SKIP_RPATH=ON \
-    -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON
   make || return 1
   make DESTDIR=$pkgdir install || return 1
  }



More information about the arch-commits mailing list