This commit is contained in:
Greyson Christoforo 2022-04-11 11:07:50 +01:00
parent b634531f66
commit 2498280e13
2 changed files with 4 additions and 8 deletions

View file

@ -1,8 +1,7 @@
pkgbase = freecad-git
pkgdesc = A general purpose 3D CAD modeler - git checkout
pkgver = 0.20.0.r3237.ga6f0f69ed6
pkgver = 0.20.0.28679.g35913fc695
pkgrel = 1
epoch = 0
url = https://www.freecadweb.org/
arch = x86_64
license = LGPL
@ -35,6 +34,7 @@ pkgbase = freecad-git
depends = qt5-svg
depends = qt5-tools
depends = qt5-webkit
depends = qt5-webengine
depends = qt5-x11extras
depends = qt5-xmlpatterns
depends = qt5-base

View file

@ -1,9 +1,8 @@
# Maintainer: Grey Christoforo <first name at last name dot net>
pkgname=freecad-git
pkgver=0.20.0.r3237.ga6f0f69ed6
pkgver=0.20.0.28679.g35913fc695
pkgrel=1
epoch=0
pkgdesc='A general purpose 3D CAD modeler - git checkout'
arch=('x86_64')
url='https://www.freecadweb.org/'
@ -25,6 +24,7 @@ python-ply
qt5-svg
qt5-tools
qt5-webkit
qt5-webengine
qt5-x11extras
qt5-xmlpatterns
qt5-base
@ -127,10 +127,6 @@ package() {
cd FreeCAD
DESTDIR="${pkgdir}" cmake --install build_dir
# get python site package folder in the right place
cp -a "${pkgdir}${_destdir}"/lib/freecad/lib "${pkgdir}${_destdir}"
rm -rf "${pkgdir}${_destdir}"/lib/freecad/lib
# link all the .sos into python site package dir
python_site_packages="$(python -c 'import sys; print(sys.path[-1])')"
mkdir -p "${pkgdir}/${python_site_packages}"