diff options
author | Xiretza | 2020-04-01 14:46:34 +0200 |
---|---|---|
committer | Xiretza | 2020-04-01 14:46:34 +0200 |
commit | fd75ff9632fad759101db7aac2149454ad0f34c1 (patch) | |
tree | dced7007ed87fb174f13209c30feffc98970080a /PKGBUILD | |
parent | 90e3f937ff53967894cbcc24d9d8423ba512ef90 (diff) | |
download | aur-fd75ff9632fad759101db7aac2149454ad0f34c1.tar.gz |
Rename package to ghdl-yosys-plugin-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 20 insertions, 16 deletions
@@ -1,43 +1,47 @@ # Maintainer: xiretza <xiretza+aur@xiretza.xyz> -pkgname=ghdlsynth-beta-git -pkgver=r117.c975230 +pkgname=ghdl-yosys-plugin-git +pkgver=r123.ef286d8 pkgrel=1 arch=('x86_64') -pkgdesc='VHDL synthesis (based on ghdl)' -url='https://github.com/tgingold/ghdlsynth-beta' +pkgdesc='VHDL synthesis (based on ghdl and yosys)' +url='https://github.com/ghdl/ghdl-yosys-plugin' license=('GPL3') -provides=('ghdlsynth-beta' 'ghdlsynth') -conflicts=('ghdlsynth-beta' 'ghdlsynth') -makedepends=('git' 'yosys' 'clang') -depends=('ghdl-git' 'gcc-libs') +provides=('ghdl-yosys-plugin') +conflicts=('ghdl-yosys-plugin' 'ghdlsynth-beta') +replaces=('ghdlsynth-beta-git') +# By default, this AUR package is linked against community/yosys and won't work +# with yosys-git. If you want to use the plugin with yosys-git, it might be +# easiest to just build it locally. +makedepends=('git' 'clang') +depends=('ghdl-git' 'yosys') -source=("ghdlsynth::git://github.com/tgingold/ghdlsynth-beta.git") +source=("git://github.com/ghdl/ghdl-yosys-plugin.git") sha256sums=('SKIP') # clang-9: error: unknown argument: '-fvar-tracking-assignments' options=(!debug) pkgver() { - cd "${srcdir}/ghdlsynth" + cd "${srcdir}/ghdl-yosys-plugin" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "${srcdir}/ghdlsynth" + cd "${srcdir}/ghdl-yosys-plugin" make ghdl.so } package() { - cd "${srcdir}/ghdlsynth" + cd "${srcdir}/ghdl-yosys-plugin" - install -Dm755 ghdl.so "$pkgdir/usr/lib/ghdl/ghdl_yosys.so" + install -Dm755 ghdl.so "$pkgdir/usr/lib/ghdl_yosys.so" install -dm755 "$pkgdir/$(yosys-config --datdir)/plugins/" - ln -s /usr/lib/ghdl/ghdl_yosys.so "$pkgdir/$(yosys-config --datdir)/plugins/ghdl.so" + ln -s /usr/lib/ghdl_yosys.so "$pkgdir/$(yosys-config --datdir)/plugins/ghdl.so" - install -dm755 "$pkgdir/usr/share/ghdlsynth/examples/" - cp -r examples/* "$pkgdir/usr/share/ghdlsynth/examples/" + install -dm755 "$pkgdir/usr/share/ghdl/yosys-plugin/examples/" + cp -r examples/* "$pkgdir/usr/share/ghdl/yosys-plugin/examples/" } |