summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2018-09-07 13:43:38 +1000
committerRod Kay2018-09-07 13:43:38 +1000
commitd03609bafe2bfd8961cf5b5b7d6b411a1a4d091f (patch)
tree6e2ba493f3291b344c817164c1975077fe576b76
downloadaur-d03609bafe2bfd8961cf5b5b7d6b411a1a4d091f.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2eca81512d5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gnatcoll-sql
+ pkgdesc = GNAT Components Collection - SQL database support
+ pkgver = 2018
+ pkgrel = 1
+ url = https://github.com/AdaCore/gnatcoll-db/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gprbuild
+ depends = gcc-ada
+ depends = gnatcoll-core
+ provides = gnatcoll-sql
+ conflicts = gnatcoll-sql
+ source = http://mirrors.cdn.adacore.com/art/5b0ce9cbc7a4475263382be6
+ sha1sums = 85c90002bb506e3e72e38d2e6604734402d23a32
+
+pkgname = gnatcoll-sql
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d1e9a0be04c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Rod Kay <charlie5 on #ada at freenode.net>
+
+pkgname=gnatcoll-sql
+pkgver=2018
+pkgrel=1
+
+pkgdesc='GNAT Components Collection - SQL database support'
+url='https://github.com/AdaCore/gnatcoll-db/'
+arch=('i686' 'x86_64')
+license=('GPL')
+
+depends=('gcc-ada' 'gnatcoll-core')
+makedepends=('gprbuild')
+
+provides=('gnatcoll-sql')
+conflicts=('gnatcoll-sql')
+
+source=('http://mirrors.cdn.adacore.com/art/5b0ce9cbc7a4475263382be6')
+sha1sums=('85c90002bb506e3e72e38d2e6604734402d23a32')
+
+
+build()
+{
+ cd "$srcdir/gnatcoll-db-gpl-2018-src/sql"
+
+ make setup BUILD=PROD prefix=/usr
+ make PROCESSORS="$(nproc)" GPRBUILD_OPTIONS=-R
+}
+
+package()
+{
+ cd "$srcdir/gnatcoll-db-gpl-2018-src/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
+}