Date: Saturday, April 9, 2016 @ 19:27:41
  Author: bluewind
Revision: 169920

upgpkg: freecad 0.16-1

upstream update

Modified:
  freecad/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-04-09 17:02:15 UTC (rev 169919)
+++ PKGBUILD    2016-04-09 17:27:41 UTC (rev 169920)
@@ -8,8 +8,8 @@
 # Contributor: gborzi
 
 pkgname=freecad
-pkgver=0.15.4671
-pkgrel=7
+pkgver=0.16
+pkgrel=1
 pkgdesc='A general purpose 3D CAD modeler'
 arch=('i686' 'x86_64')
 url='http://www.freecadweb.org/'
@@ -21,15 +21,15 @@
 # TODO add reasons
 optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4')
 install=freecad.install
-source=("http://downloads.sourceforge.net/sourceforge/free-cad/freecad_${pkgver}.tar.gz";
+source=("https://github.com/FreeCAD/FreeCAD/archive/$pkgver.tar.gz";
        "${pkgname}.desktop"
        "${pkgname}.xml")
-md5sums=('7afa95d3e8cd845bef83202e76db7f24'
+md5sums=('6e992c98ae2b8448bcf428e3e9efb02f'
          '382cd66757dae635b53105d207679fce'
          'c2f4154c8e4678825411de8e7fa54c6b')
 
 prepare() {
-  cd "${srcdir}/freecad-${pkgver}/"
+  cd "${srcdir}/FreeCAD-${pkgver}/"
 
   sed -i \
     -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \
@@ -36,8 +36,6 @@
     -e "50i\\\tLibDir = '/usr/lib/freecad'" \
     src/App/FreeCADInit.py
 
-  sed -i 's|\bpyside-uic\b|python2-pyside-uic|' cMake/FindPySideTools.cmake
-
   # http://www.freecadweb.org/tracker/view.php?id=2347
   sed -i 's/boost::re_detail/boost::BOOST_REGEX_DETAIL_NS/' \
     src/Mod/Drawing/App/FeaturePage.cpp
@@ -44,7 +42,7 @@
 }
 
 build() {
-  cd "${srcdir}/freecad-${pkgver}/"
+  cd "${srcdir}/FreeCAD-${pkgver}/"
   cmake \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
@@ -58,7 +56,7 @@
 }
 
 package() {
-  cd "${srcdir}/freecad-${pkgver}"
+  cd "${srcdir}/FreeCAD-${pkgver}"
   make DESTDIR="${pkgdir}" install
 
   # Symlink to /usr/bin

Reply via email to