[arch-commits] Commit in libproxy/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Mon Jun 6 21:24:07 UTC 2011
Date: Monday, June 6, 2011 @ 17:24:06
Author: andrea
Revision: 126731
build as Release
Modified:
libproxy/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-06-06 21:21:22 UTC (rev 126730)
+++ PKGBUILD 2011-06-06 21:24:06 UTC (rev 126731)
@@ -20,22 +20,22 @@
md5sums=('199c6b120baf1f7258a55f38d5ec74f5')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}"
mkdir build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
-DCMAKE_SKIP_RPATH=ON \
-DPERL_VENDORINSTALL=yes \
- -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_BUILD_TYPE=Release \
-DWITH_WEBKIT=OFF \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_C_FLAGS="${CFLAGS}" \
- ..
+ -DCMAKE_C_FLAGS="${CFLAGS}"
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list