summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2018-09-12 03:05:48 +1000
committerRod Kay2018-09-12 03:05:48 +1000
commit831a087bae15e0049dff204d6bf2edd45488e9a1 (patch)
tree90b0fe059135eefa2ac71c9b644191a8f9e43221
parent907c4dee3e2a188bc6484547373b24b441ff852c (diff)
downloadaur-831a087bae15e0049dff204d6bf2edd45488e9a1.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 57345fb7928..f6d6e52cda5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,14 @@
pkgbase = gnatcoll-python
pkgdesc = GNAT Components Collection - interface to the python interpreter.
pkgver = 2018
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/AdaCore/gnatcoll-bindings/
arch = i686
arch = x86_64
license = GPL
- makedepends = gprbuild
- depends = gcc-ada
+ makedepends = gprbuild>=2018
depends = python2
- depends = gnatcoll-core
- provides = gnatcoll-python
- conflicts = gnatcoll-python
+ depends = gnatcoll-core>=2018
source = http://mirrors.cdn.adacore.com/art/5b0ce9cfc7a4475261f97ca5
source = setup.py-patch
sha1sums = 42682c885e4a02bb03786aa9ece3a4214ca419f8
diff --git a/PKGBUILD b/PKGBUILD
index 175d4302254..444cd79029e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,21 @@
pkgname=gnatcoll-python
pkgver=2018
-pkgrel=1
+pkgrel=2
pkgdesc='GNAT Components Collection - interface to the python interpreter.'
url='https://github.com/AdaCore/gnatcoll-bindings/'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('gcc-ada' 'python2' 'gnatcoll-core')
-makedepends=('gprbuild')
-
-provides=('gnatcoll-python')
-conflicts=('gnatcoll-python')
+depends=('python2' 'gnatcoll-core>=2018')
+makedepends=('gprbuild>=2018')
source=('http://mirrors.cdn.adacore.com/art/5b0ce9cfc7a4475261f97ca5'
'setup.py-patch')
sha1sums=('42682c885e4a02bb03786aa9ece3a4214ca419f8'
'92d80368c81b0e9eef3f9ab7e0fcc5da61b532e9')
-
prepare()
{
cd "$srcdir/gnatcoll-bindings-gpl-2018-src/python"
@@ -30,7 +26,7 @@ prepare()
build()
{
cd "$srcdir/gnatcoll-bindings-gpl-2018-src/python"
- python2 setup.py build -j$(nproc) --prefix=/usr -R
+ python2 setup.py build -j1 --prefix=/usr -R
}
package()