summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 580378afec0cb77108a7b754ca14d171619aa354 (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:  Rod Kay <rodakay5 at gmail dot com>
# Contributor: Julian Leyh <julian@vgai.de>

pkgname=ahven
pkgver=2.8
pkgrel=1
pkgdesc="A simple unit test framework for the Ada programming language."

arch=('i686' 'x86_64')
url="http://ahven-framework.com/"
license=('ISC')

depends=('gcc-ada')
makedepends=('sphinxcontrib-adadomain')

source=(https://www.ahven-framework.com/releases/ahven-2.8.tar.gz)
sha256sums=('6ead94fbd1b95454e959cc2a343acfb2f733bcbf10d9a286214d1dec1b9e8e0c')


build() 
{
  cd "$srcdir/$pkgname-$pkgver"
  make prefix=/usr
  make prefix=/usr docs
}


check() 
{
  cd "$srcdir/$pkgname-$pkgver"
  make check
}


package() 
{
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR=$pkgdir install

  # Install the license.
  install -D -m644     \
     "LICENSE.txt"     \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}