[arch-commits] Commit in polkit-qt/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Sun Jan 17 18:40:13 UTC 2010
Date: Sunday, January 17, 2010 @ 13:40:13
Author: andrea
Revision: 63520
cleanup build
Modified:
polkit-qt/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-01-17 18:38:39 UTC (rev 63519)
+++ PKGBUILD 2010-01-17 18:40:13 UTC (rev 63520)
@@ -18,14 +18,13 @@
build() {
cd $srcdir/${pkgname}-${pkgver}
patch -p1 -i $srcdir/link.patch || return 1
- cd ..
+ cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
- make
+ -DCMAKE_SKIP_RPATH=ON
+ make || return 1
make DESTDIR=$pkgdir install
}
More information about the arch-commits
mailing list