blob: 4c0e08bb897a9f2e6f05ef339fb74eb1523287b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: George Tsiamasiotis <gtsiam@windowslive.com>
pkgname=ghdl
pkgver=5.0.1
pkgrel=1
arch=('x86_64')
pkgdesc='VHDL 2008/93/87 simulator - mcode backend'
url='https://github.com/ghdl/ghdl'
license=('GPL-2.0-only')
depends=(
'gcc-ada')
optdepends=(
'python-pyghdl: python bindings and utilities')
checkdepends=(
'python-pytest'
'python-pytooling')
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/ghdl/ghdl/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=(
'a4cef27312a158c28498eeb62a470007354755b267adb62005a04b66143a1f92')
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr/
make
}
check() {
cd "$pkgname-$pkgver"
make test
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# Install man page
install -Dm0644 -t "$pkgdir/usr/share/man/man1" doc/ghdl.1
}
|