allow Mod to be found
This commit is contained in:
parent
45b97adace
commit
1d49449a21
2 changed files with 11 additions and 3 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = freecad-git
|
pkgbase = freecad-git
|
||||||
pkgdesc = A general purpose 3D CAD modeler - git checkout
|
pkgdesc = A general purpose 3D CAD modeler - git checkout
|
||||||
pkgver = 0.19.r559.gccc4151b30
|
pkgver = 0.19.r581.g20e756306d
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
epoch = 0
|
epoch = 0
|
||||||
url = https://www.freecadweb.org/
|
url = https://www.freecadweb.org/
|
||||||
|
|
12
PKGBUILD
12
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Grey Christoforo <first name at last name dot net>
|
# Maintainer: Grey Christoforo <first name at last name dot net>
|
||||||
|
|
||||||
pkgname=freecad-git
|
pkgname=freecad-git
|
||||||
pkgver=0.19.r559.gccc4151b30
|
pkgver=0.19.r581.g20e756306d
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=0
|
epoch=0
|
||||||
pkgdesc='A general purpose 3D CAD modeler - git checkout'
|
pkgdesc='A general purpose 3D CAD modeler - git checkout'
|
||||||
|
@ -119,7 +119,15 @@ package() {
|
||||||
|
|
||||||
# fix Ext & Mod locations
|
# fix Ext & Mod locations
|
||||||
mkdir -p "${pkgdir}${_destdir}"/lib/freecad
|
mkdir -p "${pkgdir}${_destdir}"/lib/freecad
|
||||||
mv "${pkgdir}${_destdir}"/{Ext,Mod} "${pkgdir}${_destdir}"/lib/freecad
|
mv "${pkgdir}${_destdir}"/{Ext,Mod,bin} "${pkgdir}${_destdir}"/lib/freecad
|
||||||
|
|
||||||
|
# links for bin
|
||||||
|
mkdir -p "${pkgdir}${_destdir}"/bin
|
||||||
|
FILES="${pkgdir}${_destdir}"/lib/freecad/bin/*
|
||||||
|
for f in $FILES
|
||||||
|
do
|
||||||
|
ln -s ${_destdir}/lib/freecad/bin/$(basename $f) "${pkgdir}${_destdir}"/bin/$(basename $f)
|
||||||
|
done
|
||||||
|
|
||||||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${pkgdir}${_destdir}"/share/License.txt
|
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${pkgdir}${_destdir}"/share/License.txt
|
||||||
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICENSE
|
install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 LICENSE
|
||||||
|
|
Loading…
Reference in a new issue