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

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


    Date: Sunday, January 17, 2010 @ 13:38:23
  Author: andrea
Revision: 63515

cleanup build

Modified:
  hugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-01-17 18:38:19 UTC (rev 63514)
+++ PKGBUILD	2010-01-17 18:38:23 UTC (rev 63515)
@@ -19,12 +19,12 @@
 md5sums=('856fa8016bc990874a71a19cc162f6be')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  mkdir mybuild
-  cd mybuild
-  cmake \
+  cd ${srcdir}
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    ../ \
     -DCMAKE_EXE_LINKER_FLAGS="-lpthread" || return 1
   make || return 1
   make DESTDIR="${pkgdir}" install || return 1



More information about the arch-commits mailing list