summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2018-09-12 03:05:54 +1000
committerRod Kay2018-09-12 03:05:54 +1000
commita91c116a739290b96c642fe389c9b525e366fb80 (patch)
treefaf85741ec075272b767c8a7353d21ee26983c84
parentd03609bafe2bfd8961cf5b5b7d6b411a1a4d091f (diff)
downloadaur-a91c116a739290b96c642fe389c9b525e366fb80.tar.gz
Improve PKGBUILD
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2eca81512d5..d48a59bb9eb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
pkgbase = gnatcoll-sql
pkgdesc = GNAT Components Collection - SQL database support
pkgver = 2018
- pkgrel = 1
+ pkgrel = 2
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
+ makedepends = gprbuild>=2018
+ depends = gnatcoll-core>=2018
source = http://mirrors.cdn.adacore.com/art/5b0ce9cbc7a4475263382be6
sha1sums = 85c90002bb506e3e72e38d2e6604734402d23a32
diff --git a/PKGBUILD b/PKGBUILD
index d1e9a0be04c..1557c5ae994 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,25 @@
pkgname=gnatcoll-sql
pkgver=2018
-pkgrel=1
+pkgrel=2
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')
+depends=('gnatcoll-core>=2018')
+makedepends=('gprbuild>=2018')
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
+ make -j1 GPRBUILD_OPTIONS=-R
}
package()