fix CMAKE_INSTALL paths
This commit is contained in:
parent
54b068a5da
commit
44c45e84a1
2 changed files with 4 additions and 4 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.21.0.31043.g7a8a453746
|
pkgver = 0.21.0.31436.g14994bd9f7
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://www.freecad.org/
|
url = https://www.freecad.org/
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Adrian Insaurralde <adrianinsaval at gmail dot com>
|
# Maintainer: Adrian Insaurralde <adrianinsaval at gmail dot com>
|
||||||
|
|
||||||
pkgname=freecad-git
|
pkgname=freecad-git
|
||||||
pkgver=0.21.0.31043.g7a8a453746
|
pkgver=0.21.0.31436.g14994bd9f7
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A general purpose 3D CAD modeler - git checkout'
|
pkgdesc='A general purpose 3D CAD modeler - git checkout'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -97,8 +97,8 @@ build() {
|
||||||
-D INSTALL_TO_SITEPACKAGES=ON \
|
-D INSTALL_TO_SITEPACKAGES=ON \
|
||||||
-D CMAKE_INSTALL_PREFIX='/usr/lib/freecad' \
|
-D CMAKE_INSTALL_PREFIX='/usr/lib/freecad' \
|
||||||
-D CMAKE_INSTALL_DATADIR='../../share/freecad' \
|
-D CMAKE_INSTALL_DATADIR='../../share/freecad' \
|
||||||
-D CMAKE_INSTALL_DATAROOTDIR='../../share' \
|
-D CMAKE_INSTALL_DATAROOTDIR='/usr/share' \
|
||||||
-D CMAKE_INSTALL_DOCDIR='../../doc/freecad'
|
-D CMAKE_INSTALL_DOCDIR='/usr/share/doc/freecad'
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue