ghdl: don't remove src/ directory when installing

This commit is contained in:
yosh 2024-09-12 11:20:50 -04:00 committed by classabbyamp
parent 5be0a1421f
commit c6f4a1f9d3
1 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,7 @@
pkgname=ghdl
reverts="20181129_1"
version=4.1.0
revision=1
revision=2
build_style=configure
configure_args="--prefix=/usr --srcdir=.. --disable-werror"
makedepends="zlib-devel"
@ -73,11 +73,9 @@ do_install() {
# install whatever backends we have
if [ "$build_option_mcode" ]; then
make -C build_mcode DESTDIR=${DESTDIR} install
rm -rf ${DESTDIR}/usr/lib/ghdl/src
fi
if [ "$build_option_llvm" ]; then
make -C build_llvm DESTDIR=${DESTDIR} install
rm -rf ${DESTDIR}/usr/lib/ghdl/src
fi
# manpage is not installed by default
vman doc/ghdl.1