summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrien Prost-Boucle2019-08-11 16:22:31 +0200
committerAdrien Prost-Boucle2019-08-11 16:22:31 +0200
commit75622612cd1e7b56c30ee098d849e30d83032ae6 (patch)
tree995a887ba92f50e6efbd86d204e4e0bc446d00c3
parent2181853ec8d714f08c01a66258e6f7d93d08b676 (diff)
downloadaur-75622612cd1e7b56c30ee098d849e30d83032ae6.tar.gz
Keep libiberty files + install libghdlsynth
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 10 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f68ffa332e00..3fd51c25f0bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 2e51661585cf..43548b8a6092 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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*' \