diff options
author | Adrien Prost-Boucle | 2019-09-25 08:38:01 +0200 |
---|---|---|
committer | Adrien Prost-Boucle | 2019-09-25 08:38:01 +0200 |
commit | 5cdf0447fba4ccef14e988a62224679da2d61b8d (patch) | |
tree | cb6d1feb1ed975a0433efe39637a75e5d0c9321e | |
parent | a7da6cade79937c8e8fd47afdc59c4bd4e56c676 (diff) | |
download | aur-5cdf0447fba4ccef14e988a62224679da2d61b8d.tar.gz |
Remove deprecated commands, add symlink to main lib
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 14 insertions, 6 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Sep 10 17:02:48 UTC 2019 +# Wed Sep 25 06:35:35 UTC 2019 pkgbase = ghdl-mcode-git pkgdesc = VHDL simulator - mcode back-end - pkgver = 0.37dev.git20190907 + pkgver = 0.37dev.git20190925 pkgrel = 1 url = https://github.com/ghdl/ghdl arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Adrien Prost-Boucle <adrien.prost-boucle@laposte.net> pkgname=ghdl-mcode-git -pkgver=0.37dev.git20190907 +pkgver=0.37dev.git20190925 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='VHDL simulator - mcode back-end' @@ -33,7 +33,11 @@ pkgver() { build() { cd "${srcdir}/ghdl" - ./configure --prefix=/usr/ --enable-synth + # Note : Add --enable-openieee to use free (but not complete) implementation of IEEE VHDL libs + ./configure \ + --prefix=/usr/ \ + --enable-libghdl \ + --enable-synth make @@ -43,7 +47,11 @@ package() { cd "${srcdir}/ghdl" make DESTDIR="${pkgdir}" install - # Install library for synthesis - make DESTDIR="${pkgdir}" install.libghdlsynth + + # In case it does not exist, create symlink libghdl.so + local _gso=`ls "${pkgdir}/usr/lib/" | grep -e '^libghdl-.*\.so$' | head -n 1` + if [[ -n "$_gso" ]] ; then + ln -s "$_gso" "${pkgdir}/usr/lib/libghdl.so" + fi } |