diff options
author | Adrien Prost-Boucle | 2019-08-11 16:22:31 +0200 |
---|---|---|
committer | Adrien Prost-Boucle | 2019-08-11 16:22:31 +0200 |
commit | 75622612cd1e7b56c30ee098d849e30d83032ae6 (patch) | |
tree | 995a887ba92f50e6efbd86d204e4e0bc446d00c3 | |
parent | 2181853ec8d714f08c01a66258e6f7d93d08b676 (diff) | |
download | aur-75622612cd1e7b56c30ee098d849e30d83032ae6.tar.gz |
Keep libiberty files + install libghdlsynth
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Jul 2 22:25:14 UTC 2019 +# Sun Aug 11 14:21:32 UTC 2019 pkgbase = ghdl-gcc-git pkgdesc = VHDL simulator - GCC flavour - pkgver = 0.37dev.git20190702 + pkgver = 0.37dev.git20190811 pkgrel = 1 url = https://github.com/tgingold/ghdl install = ghdl.install @@ -3,7 +3,7 @@ # https://aur.archlinux.org/packages/ghdl/ pkgname=ghdl-gcc-git -pkgver=0.37dev.git20190702 +pkgver=0.37dev.git20190811 pkgrel=1 arch=('any') pkgdesc='VHDL simulator - GCC flavour' @@ -143,12 +143,17 @@ package() { # Install VHDL libraries and runtime cd "${srcdir}/ghdl" make DESTDIR="${pkgdir}" install + # Install library for synthesis + make DESTDIR="${pkgdir}" install.libghdlsynth # Remove gcc-specific files, keep only what is related to ghdl cd "${pkgdir}" - rm -rf "usr/"{include,share/{locale,man}} + rm -rf "usr/share/"{locale,man} find "usr/lib" \ - -maxdepth 1 -mindepth 1 -not -name 'gcc' -not -name 'ghdl' \ + -maxdepth 1 -mindepth 1 \ + -not -name 'gcc' \ + -not -name '*ghdl*' \ + -not -name 'libiberty*' \ -exec rm -rf {} + find "usr/lib/gcc/${_machine}/${_version}" \ -maxdepth 1 -mindepth 1 -not -name 'ghdl*' \ |