summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2020-05-21 15:44:41 +0200
committerXiretza2020-05-21 15:44:41 +0200
commit3a3d3a6100f563cb7396fa86d2a7664e57229f8c (patch)
tree1e063aaba4b1bbc43e05e2123862b968dca7c9d0
parenta924db6768fbbc14c9aa1d7fb1a1ca468afc80e4 (diff)
downloadaur-3a3d3a6100f563cb7396fa86d2a7664e57229f8c.tar.gz
Update to 2020 release
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 15 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ea797b2f138..2a5b76c305e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xmlada
- pkgdesc = An XML parser for Ada95
- pkgver = 2019
- pkgrel = 2
+ pkgdesc = An XML parser for Ada94
+ pkgver = 2020
+ pkgrel = 1
url = https://github.com/AdaCore/xmlada/
arch = i686
arch = x86_64
@@ -10,10 +10,10 @@ pkgbase = xmlada
makedepends = gprbuild-bootstrap
depends = gcc-ada
conflicts = xmlada-git
- source = https://community.download.adacore.com/v1/ce0b67754f149cd230ba842effeff0ab3033ed0c?filename=xmlada-2019-20190429-19B9D-src.tar.gz
+ source = xmlada-2020-20200429-19A99-src.tar.gz::https://community.download.adacore.com/v1/c799502295baf074ad17b48c50f621879c392c57?filename=xmlada-2020-20200429-19A99-src.tar.gz
source = expose-cargs-and-largs-makefile.patch
source = COPYING.RUNTIME
- sha1sums = ce0b67754f149cd230ba842effeff0ab3033ed0c
+ sha1sums = c799502295baf074ad17b48c50f621879c392c57
sha1sums = 9b65cc99453fd15bdb7c49a32e6f76922ec904bd
sha1sums = 44a4a599d98b4ec6d63051103de2fd177f43f67a
diff --git a/PKGBUILD b/PKGBUILD
index 465bc1f648a..4ee6667e5df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,10 @@
# Contributor: Earnestly <zibeon AT googlemail.com>
pkgname=xmlada
-pkgver=2019
-pkgrel=2
-pkgdesc="An XML parser for Ada95"
+pkgver=2020
+_upstream_ver=2020-20200429-19A99
+pkgrel=1
+pkgdesc="An XML parser for Ada94"
arch=('i686' 'x86_64')
url="https://github.com/AdaCore/xmlada/"
license=('GPL3' 'custom')
@@ -13,20 +14,21 @@ depends=('gcc-ada')
makedepends=('gprbuild-bootstrap')
conflicts=("$pkgname-git")
-source=('https://community.download.adacore.com/v1/ce0b67754f149cd230ba842effeff0ab3033ed0c?filename=xmlada-2019-20190429-19B9D-src.tar.gz'
+_checksum=c799502295baf074ad17b48c50f621879c392c57
+source=("$pkgname-$_upstream_ver-src.tar.gz::https://community.download.adacore.com/v1/${_checksum}?filename=$pkgname-$_upstream_ver-src.tar.gz"
'expose-cargs-and-largs-makefile.patch'
'COPYING.RUNTIME')
-sha1sums=('ce0b67754f149cd230ba842effeff0ab3033ed0c'
+sha1sums=("$_checksum"
'9b65cc99453fd15bdb7c49a32e6f76922ec904bd'
'44a4a599d98b4ec6d63051103de2fd177f43f67a')
prepare() {
- cd "$srcdir/xmlada-2019-20190429-19B9D-src"
+ cd "$srcdir/$pkgname-$_upstream_ver-src"
patch -Np1 -i "$srcdir/expose-cargs-and-largs-makefile.patch"
}
build() {
- cd "$srcdir/xmlada-2019-20190429-19B9D-src"
+ cd "$srcdir/$pkgname-$_upstream_ver-src"
./configure --prefix=/usr --libexecdir=/lib --enable-shared
# Make using a single job (-j1) to avoid the same file being compiled at the same time.
@@ -34,7 +36,7 @@ build() {
}
package() {
- cd "$srcdir/xmlada-2019-20190429-19B9D-src"
+ cd "$srcdir/$pkgname-$_upstream_ver-src"
# Make one install at a time to avoid GPRinstall reading/writing to
# the same installed project files at the same time.