move install to /usr/local/freecad

This commit is contained in:
Grey Christoforo 2021-01-08 21:37:03 +01:00
parent b9225ca637
commit c04d3d1d8c
2 changed files with 3 additions and 3 deletions

View file

@ -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_pre.r4993.gadc78f1e23 pkgver = 0.19_pre.r4995.g1851ddd933
pkgrel = 1 pkgrel = 1
epoch = 0 epoch = 0
url = https://www.freecadweb.org/ url = https://www.freecadweb.org/

View file

@ -2,7 +2,7 @@
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com> # Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
pkgname=freecad-git pkgname=freecad-git
pkgver=0.19_pre.r4993.gadc78f1e23 pkgver=0.19_pre.r4995.g1851ddd933
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'
@ -88,7 +88,7 @@ check() {
package() { package() {
cd FreeCAD cd FreeCAD
local _destdir=/opt/freecad-git local _destdir=/usr/local/freecad # maybe this belongs in /opt/freecad-git
DESTDIR="${pkgdir}${_destdir}" ninja -C "${srcdir}/build" install DESTDIR="${pkgdir}${_destdir}" ninja -C "${srcdir}/build" install
mkdir -p "${pkgdir}"/usr/{share,bin,lib} mkdir -p "${pkgdir}"/usr/{share,bin,lib}