summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cf55520e1652095e94439650d72abfeeb454d2f4 (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   <charlie5 on #ada at freenode.net>

pkgname=ada-web-server
pkgver=2019
pkgrel=1
pkgdesc="A complete embeddable Web application framework for Ada."

arch=(i686 x86_64)
url=http://libre.adacore.com/tools/aws
license=(GPL)
groups=(gcc-ada)

depends=('gcc-ada' 'asis')
makedepends=(gprbuild texlive-bin)

provides=(aws)

source=('http://mirrors.cdn.adacore.com/art/5cdf85a031e87aa2cdf16b19')
sha1sums=('110b3f623b4487874a714d3cf29aa945680766a6')


build() 
{
    cd $srcdir/aws-2019-20190512-18AB9-src

    make setup
    make build

    cd docs
    make html
}


package() 
{
    cd $srcdir/aws-2019-20190512-18AB9-src

    make DESTDIR="$pkgdir" install

    mkdir -p $pkgdir/usr/lib/gnat/manifests
    mv  $pkgdir/usr/share/gpr/aws.gpr         $pkgdir/usr/lib/gnat
    mv  $pkgdir/usr/share/gpr/manifests/aws   $pkgdir/usr/lib/gnat/manifests
    rm -fr $pkgdir/usr/share/gpr
}