[arch-commits] Commit in freecad/repos/community-x86_64 (8 files)
Florian Pritz
bluewind at archlinux.org
Tue Apr 28 12:43:22 UTC 2015
Date: Tuesday, April 28, 2015 @ 14:43:21
Author: bluewind
Revision: 132443
archrelease: copy trunk to community-x86_64
Added:
freecad/repos/community-x86_64/PKGBUILD
(from rev 132442, freecad/trunk/PKGBUILD)
freecad/repos/community-x86_64/freecad.desktop
(from rev 132442, freecad/trunk/freecad.desktop)
freecad/repos/community-x86_64/freecad.install
(from rev 132442, freecad/trunk/freecad.install)
freecad/repos/community-x86_64/freecad.xml
(from rev 132442, freecad/trunk/freecad.xml)
Deleted:
freecad/repos/community-x86_64/PKGBUILD
freecad/repos/community-x86_64/freecad.desktop
freecad/repos/community-x86_64/freecad.install
freecad/repos/community-x86_64/freecad.xml
-----------------+
PKGBUILD | 148 +++++++++++++++++++++++++++---------------------------
freecad.desktop | 28 +++++-----
freecad.install | 30 +++++-----
3 files changed, 103 insertions(+), 103 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-28 12:42:06 UTC (rev 132442)
+++ PKGBUILD 2015-04-28 12:43:21 UTC (rev 132443)
@@ -1,74 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
-# Contributor: mickele
-# Contributor: manwithgrenade
-# Contributor: bricem13
-# Contributor: gborzi
-
-pkgname=freecad
-pkgver=0.15.4671
-pkgrel=2
-pkgdesc='A general purpose 3D CAD modeler'
-arch=('i686' 'x86_64')
-url='http://www.freecadweb.org/'
-license=('LGPL')
-depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
- 'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
- 'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qtwebkit')
-makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9')
-# 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"
- "${pkgname}.desktop"
- "${pkgname}.xml")
-md5sums=('4fe88e3647fe15e770e1b5c631424579'
- '382cd66757dae635b53105d207679fce'
- 'c2f4154c8e4678825411de8e7fa54c6b')
-
-prepare() {
- sed -i \
- -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \
- -e "50i\\\tLibDir = '/usr/lib/freecad'" \
- "${srcdir}/freecad-${pkgver}/src/App/FreeCADInit.py"
-
- sed -i \
- -e 's|\bpyside-uic\b|python2-pyside-uic|' \
- $srcdir/freecad-$pkgver/cMake/FindPySideTools.cmake
-}
-
-build() {
- cd "${srcdir}/freecad-${pkgver}/"
- cmake \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \
- -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \
- -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \
- -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
- -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON
- make
-}
-
-package() {
- cd "${srcdir}/freecad-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # Symlink to /usr/bin
- ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad"
- ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
-
- cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/"
- rm -r "${pkgdir}/usr/Mod"
-
- # Install pixmaps and desktop shortcut
- desktop-file-install \
- --dir="${pkgdir}/usr/share/applications" \
- "${srcdir}/${pkgname}.desktop"
-
- # Mime info
- install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
-}
Copied: freecad/repos/community-x86_64/PKGBUILD (from rev 132442, freecad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-28 12:43:21 UTC (rev 132443)
@@ -0,0 +1,74 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
+# Contributor: mickele
+# Contributor: manwithgrenade
+# Contributor: bricem13
+# Contributor: gborzi
+
+pkgname=freecad
+pkgver=0.15.4671
+pkgrel=2
+pkgdesc='A general purpose 3D CAD modeler'
+arch=('i686' 'x86_64')
+url='http://www.freecadweb.org/'
+license=('LGPL')
+depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
+ 'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
+ 'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qtwebkit')
+makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9')
+# 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"
+ "${pkgname}.desktop"
+ "${pkgname}.xml")
+md5sums=('7afa95d3e8cd845bef83202e76db7f24'
+ '382cd66757dae635b53105d207679fce'
+ 'c2f4154c8e4678825411de8e7fa54c6b')
+
+prepare() {
+ sed -i \
+ -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \
+ -e "50i\\\tLibDir = '/usr/lib/freecad'" \
+ "${srcdir}/freecad-${pkgver}/src/App/FreeCADInit.py"
+
+ sed -i \
+ -e 's|\bpyside-uic\b|python2-pyside-uic|' \
+ $srcdir/freecad-$pkgver/cMake/FindPySideTools.cmake
+}
+
+build() {
+ cd "${srcdir}/freecad-${pkgver}/"
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+ -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \
+ -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \
+ -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \
+ -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
+ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
+ -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON
+ make
+}
+
+package() {
+ cd "${srcdir}/freecad-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ # Symlink to /usr/bin
+ ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad"
+ ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
+
+ cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/"
+ rm -r "${pkgdir}/usr/Mod"
+
+ # Install pixmaps and desktop shortcut
+ desktop-file-install \
+ --dir="${pkgdir}/usr/share/applications" \
+ "${srcdir}/${pkgname}.desktop"
+
+ # Mime info
+ install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+}
Deleted: freecad.desktop
===================================================================
--- freecad.desktop 2015-04-28 12:42:06 UTC (rev 132442)
+++ freecad.desktop 2015-04-28 12:43:21 UTC (rev 132443)
@@ -1,14 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Encoding=UTF-8
-Name=FreeCAD
-Comment=A general purpose 3D CAD modeler
-GenericName=CAD Application
-Exec=/usr/bin/freecad %F
-Path=/usr/share/freecad
-Terminal=false
-Type=Application
-Icon=/usr/share/freecad/freecad.xpm
-Categories=Application;Science;Math;Education;
-StartupNotify=true
-MimeType=application/x-extension-fcstd;
Copied: freecad/repos/community-x86_64/freecad.desktop (from rev 132442, freecad/trunk/freecad.desktop)
===================================================================
--- freecad.desktop (rev 0)
+++ freecad.desktop 2015-04-28 12:43:21 UTC (rev 132443)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Comment=A general purpose 3D CAD modeler
+GenericName=CAD Application
+Exec=/usr/bin/freecad %F
+Path=/usr/share/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Application;Science;Math;Education;
+StartupNotify=true
+MimeType=application/x-extension-fcstd;
Deleted: freecad.install
===================================================================
--- freecad.install 2015-04-28 12:42:06 UTC (rev 132442)
+++ freecad.install 2015-04-28 12:43:21 UTC (rev 132443)
@@ -1,15 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
- update-mime-database usr/share/mime
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
- update-mime-database usr/share/mime
-}
Copied: freecad/repos/community-x86_64/freecad.install (from rev 132442, freecad/trunk/freecad.install)
===================================================================
--- freecad.install (rev 0)
+++ freecad.install 2015-04-28 12:43:21 UTC (rev 132443)
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
Deleted: freecad.xml
===================================================================
(Binary files differ)
Copied: freecad/repos/community-x86_64/freecad.xml (from rev 132442, freecad/trunk/freecad.xml)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list