summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2017-06-05 15:50:31 +1000
committerRod Kay2017-06-05 15:50:31 +1000
commita702581d751d81b64ac1d0b0863d4b7c2f2eb08d (patch)
tree0e193d094012ce1b7e77245d823e95c8bc0d81b3
parent68bd09a64818cb3f3c30dd738de4e5d477fb77ee (diff)
downloadaur-a702581d751d81b64ac1d0b0863d4b7c2f2eb08d.tar.gz
Fix version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c75cbc0fce0..09c423a8dbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Mon Jun 5 05:44:33 UTC 2017
+# Mon Jun 5 05:50:02 UTC 2017
pkgbase = xmlada
pkgdesc = xml parsing and schema based validation
pkgver = 2017
diff --git a/PKGBUILD b/PKGBUILD
index 70db1098aaa..aea00b4052f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,22 +19,26 @@ source=('git+https://github.com/AdaCore/xmlada'
sha1sums=('SKIP'
'9b65cc99453fd15bdb7c49a32e6f76922ec904bd')
+
pkgver() {
cd xmlada
git describe | sed 's/^xmlada-//; s/-/.r/; s/-/./'
}
+
prepare() {
cd xmlada
patch -Np1 -i "$srcdir"/expose-cargs-and-largs-makefile.patch
}
+
build() {
cd xmlada
./configure --prefix=/usr --libexecdir=/lib --enable-shared
make PROCESSORS="$(nproc)" GPRBUILD_OPTIONS=-R
}
+
package() {
cd xmlada
make prefix="$pkgdir"/usr install