summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2018-09-07 13:12:23 +1000
committerRod Kay2018-09-07 13:12:23 +1000
commit03c531d47ba0cce7373f2812ac3e572bf40d05b7 (patch)
treee9dd2c2c7f4dd1681e7ebcea6bbe2d3035874184
parent49f036961bc64c5432514781a6d675066ab59348 (diff)
downloadaur-03c531d47ba0cce7373f2812ac3e572bf40d05b7.tar.gz
Update to 2018
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD46
2 files changed, 32 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 660121e48b5..873621c30a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,20 @@
-# Generated by mksrcinfo v8
-# Thu Jul 6 12:09:35 UTC 2017
pkgbase = xmlada
- pkgdesc = Xml parsing and schema based validation.
- pkgver = 2017
- pkgrel = 3
- url = http://libre.adacore.com/tools/xmlada/
+ pkgdesc = An XML parser for Ada95
+ pkgver = 18.0w
+ pkgrel = 1
+ url = https://github.com/AdaCore/xmlada/
arch = i686
arch = x86_64
- license = GPL
- makedepends = git
+ license = GPL3
+ license = custom
+ makedepends = gcc-ada
makedepends = gprbuild-bootstrap
depends = gcc-ada
provides = xmlada
conflicts = xmlada
- source = http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8
+ source = http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a40
source = expose-cargs-and-largs-makefile.patch
- sha1sums = SKIP
+ sha1sums = 6b01f6c7ac9d0766320738bef1d32894b34195e8
sha1sums = 9b65cc99453fd15bdb7c49a32e6f76922ec904bd
pkgname = xmlada
diff --git a/PKGBUILD b/PKGBUILD
index d09dfd36b1e..67c2abc1a90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,39 @@
-pkgname=xmlada
-pkgver=2017
-pkgrel=3
+# Maintainer: Pierre-Marie de Rodat <pmderodat on #ada at freenode.net>
+# Contributor: Rod Kay <charlie5 on #ada at freenode.net>
+# Contributor: Earnestly <zibeon AT googlemail.com>
-pkgdesc='Xml parsing and schema based validation.'
-url='http://libre.adacore.com/tools/xmlada/'
+pkgname=xmlada
+pkgver=18.0w
+pkgrel=1
+pkgdesc="An XML parser for Ada95"
arch=('i686' 'x86_64')
-license=('GPL')
-
+url="https://github.com/AdaCore/xmlada/"
+license=('GPL3' 'custom')
depends=('gcc-ada')
-makedepends=('git' 'gprbuild-bootstrap')
+makedepends=('gcc-ada' 'gprbuild-bootstrap')
+provides=("$pkgname")
+conflicts=("$pkgname")
-provides=('xmlada')
-conflicts=('xmlada')
-
-source=('http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8'
+source=('http://mirrors.cdn.adacore.com/art/5b0819dec7a447df26c27a40'
'expose-cargs-and-largs-makefile.patch')
-
-sha1sums=('SKIP'
+sha1sums=('6b01f6c7ac9d0766320738bef1d32894b34195e8'
'9b65cc99453fd15bdb7c49a32e6f76922ec904bd')
-
prepare() {
- cd xmlada-gpl-2017-src
- patch -Np1 -i "$srcdir"/expose-cargs-and-largs-makefile.patch
+ cd "$srcdir/xmlada-gpl-2018-src"
+ patch -Np1 -i "$srcdir/expose-cargs-and-largs-makefile.patch"
}
-
build() {
- cd xmlada-gpl-2017-src
+ cd "$srcdir/xmlada-gpl-2018-src"
./configure --prefix=/usr --libexecdir=/lib --enable-shared
- make
+ make PROCESSORS="$(nproc)" GPRBUILD_OPTIONS=-R
}
-
package() {
- cd xmlada-gpl-2017-src
- make prefix="$pkgdir"/usr install
+ cd "$srcdir/xmlada-gpl-2018-src"
+
+ # 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
}