PKGBUILD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Maintainer(Arch): Alexander F Rødseth <xyproto@archlinux.org>
  2. # Contributor: Jared Casper <jaredcasper@gmail.com>
  3. # Contributor: Paulo Matias <matias archlinux-br org>
  4. # Maintainer: Sagar Acharya <sagaracharya@tutanota.com>
  5. pkgname=iverilog
  6. pkgver=11.0
  7. pkgrel=1
  8. pkgdesc='Icarus Verilog compiler and simulation tool'
  9. arch=('x86_64')
  10. url='http://iverilog.icarus.com/'
  11. license=('GPL-2')
  12. depends=('zlib' 'bzip2')
  13. makedepends=('gperf' 'git')
  14. options=('staticlibs')
  15. source=("https://github.com/steveicarus/iverilog/archive/refs/tags/v${pkgver/./_}.tar.gz")
  16. sha512sums=('5d6a65e1c3b6b62e99af708cd5a259cc69c6b789dd6eff69e225903d9b8c115d9e5d6f7635b30c6558197cd0ee6fd8196a163fbd98956e24c211d97328b85056')
  17. prepare() {
  18. cd "$pkgname-${pkgver/./_}"
  19. aclocal
  20. autoconf
  21. }
  22. build() {
  23. cd "$pkgname-${pkgver/./_}"
  24. CFLAGS+=' -fcommon'
  25. ./configure --prefix=/usr
  26. make
  27. }
  28. package() {
  29. make -C "$pkgname-${pkgver/./_}" -j1 prefix="$pkgdir/usr" install
  30. install -Dm644 $pkgname-${pkgver/./_}/COPYING -t $pkgdir/usr/share/licenses/$pkgname
  31. }