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

Florian Pritz bluewind at archlinux.org
Wed Feb 25 10:12:01 UTC 2015


    Date: Wednesday, February 25, 2015 @ 11:12:01
  Author: bluewind
Revision: 128209

upgpkg: freecad 0.14.3702-5

fix FS#43936 - [freecad] version reports $WCREV$ instead of revision

Modified:
  freecad/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-25 09:43:15 UTC (rev 128208)
+++ PKGBUILD	2015-02-25 10:12:01 UTC (rev 128209)
@@ -9,7 +9,7 @@
 
 pkgname=freecad
 pkgver=0.14.3702
-pkgrel=4
+pkgrel=5
 pkgdesc='A general purpose 3D CAD modeler'
 arch=('i686' 'x86_64')
 url='http://www.freecadweb.org/'
@@ -37,9 +37,8 @@
 
 build() {
   cd "${srcdir}/freecad-${pkgver}/"
-  mkdir -p build
-  cd build
-  cmake .. \
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
     -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \
     -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \
@@ -51,7 +50,7 @@
 }
 
 package() {
-  cd "${srcdir}/freecad-${pkgver}/build"
+  cd "${srcdir}/freecad-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
   # Symlink to /usr/bin



More information about the arch-commits mailing list