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

pkgname=gnatcoll-sql
pkgver=2019
pkgrel=1

pkgdesc='GNAT Components Collection - SQL database support'
url='https://github.com/AdaCore/gnatcoll-db/'
arch=('i686' 'x86_64')
license=('GPL')

depends=('gnatcoll-core')
makedepends=('gprbuild')

source=('https://github.com/AdaCore/gnatcoll-db/archive/master.zip')
sha1sums=('dc4186e802daa71ab88170cd91708738c170d2fb')

build()
{
    cd "$srcdir/gnatcoll-db-master/sql"

    make setup BUILD=PROD prefix=/usr
    make -j1 GPRBUILD_OPTIONS=-R
}

package()
{
    cd "$srcdir/gnatcoll-db-master/sql"

    # Make one install at a time to avoid GPRinstall reading/writing to
    # the same installed project files at the same time.
    make prefix="$pkgdir/usr" install -j1
}