mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
LibreCAD: fix missing built-in menu
Co-authored-by: Érico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>
This commit is contained in:
parent
27e89745a1
commit
dee0963c3f
1 changed files with 8 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'LibreCAD'
|
# Template file for 'LibreCAD'
|
||||||
pkgname=LibreCAD
|
pkgname=LibreCAD
|
||||||
version=2.1.3
|
version=2.1.3
|
||||||
revision=4
|
revision=5
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
hostmakedepends="qt5-qmake pkg-config ImageMagick qt5-host-tools"
|
hostmakedepends="qt5-qmake pkg-config ImageMagick qt5-host-tools"
|
||||||
makedepends="qt5-devel qt5-svg-devel boost-devel muparser-devel librsvg-devel"
|
makedepends="qt5-devel qt5-svg-devel boost-devel muparser-devel librsvg-devel"
|
||||||
|
@ -46,9 +46,14 @@ do_install() {
|
||||||
vcopy librecad.svg usr/share/icons/hicolor/scalable/apps
|
vcopy librecad.svg usr/share/icons/hicolor/scalable/apps
|
||||||
|
|
||||||
# install resources
|
# install resources
|
||||||
for resource in library patterns fonts qm; do
|
for resource in fonts library patterns qm; do
|
||||||
vcopy unix/resources/${resource} usr/share/librecad/
|
vcopy unix/resources/${resource} usr/share/librecad/
|
||||||
done
|
done
|
||||||
|
|
||||||
vcopy unix/resources/plugins usr/lib/librecad/
|
# install plugins
|
||||||
|
vmkdir usr/share/librecad/plugins
|
||||||
|
vcopy unix/resources/plugins usr/lib/librecad/
|
||||||
|
for plugin in $DESTDIR/usr/lib/librecad/*.so ; do
|
||||||
|
ln -sf ../../../lib/librecad/$(basename $plugin) ${DESTDIR}/usr/share/librecad/plugins/$(basename $plugin)
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue