summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2017-06-14 21:11:51 +1000
committerRod Kay2017-06-14 21:11:51 +1000
commit278c8ee550cbbf7d132d6d25eb2e82a93556d59b (patch)
tree62042198e7e1416164184d9355483a1b32894cb6
parenta7a471e2113efd2898f8ff30b3bc778d58a0fe48 (diff)
downloadaur-278c8ee550cbbf7d132d6d25eb2e82a93556d59b.tar.gz
Use gpl17 sources
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 839ebf3a970..e5c5babf42d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Jun 5 05:54:08 UTC 2017
+# Wed Jun 14 11:11:45 UTC 2017
pkgbase = xmlada
- pkgdesc = xml parsing and schema based validation
+ pkgdesc = Xml parsing and schema based validation.
pkgver = 2017
- pkgrel = 1
+ pkgrel = 2
url = http://libre.adacore.com/tools/xmlada/
arch = i686
arch = x86_64
@@ -13,7 +13,7 @@ pkgbase = xmlada
depends = gcc-ada
provides = xmlada
conflicts = xmlada
- source = git+https://github.com/AdaCore/xmlada
+ source = http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8
source = expose-cargs-and-largs-makefile.patch
sha1sums = SKIP
sha1sums = 9b65cc99453fd15bdb7c49a32e6f76922ec904bd
diff --git a/PKGBUILD b/PKGBUILD
index a86a60582b5..a4deaa2a9bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
pkgname=xmlada
pkgver=2017
-pkgrel=1
+pkgrel=2
-pkgdesc='xml parsing and schema based validation'
+pkgdesc='Xml parsing and schema based validation.'
url='http://libre.adacore.com/tools/xmlada/'
arch=('i686' 'x86_64')
license=('GPL')
@@ -13,33 +13,27 @@ makedepends=('git' 'gprbuild-bootstrap')
provides=('xmlada')
conflicts=('xmlada')
-source=('git+https://github.com/AdaCore/xmlada'
+source=('http://mirrors.cdn.adacore.com/art/591aeb88c7a4473fcbb154f8'
'expose-cargs-and-largs-makefile.patch')
sha1sums=('SKIP'
'9b65cc99453fd15bdb7c49a32e6f76922ec904bd')
-#pkgver() {
-# cd xmlada
-# git describe | sed 's/^xmlada-//; s/-/.r/; s/-/./'
-#}
-
-
prepare() {
- cd xmlada
+ cd xmlada-gpl-2017-src
patch -Np1 -i "$srcdir"/expose-cargs-and-largs-makefile.patch
}
build() {
- cd xmlada
+ cd xmlada-gpl-2017-src
./configure --prefix=/usr --libexecdir=/lib --enable-shared
- make PROCESSORS="$(nproc)" GPRBUILD_OPTIONS=-R
+ make
}
package() {
- cd xmlada
+ cd xmlada-gpl-2017-src
make prefix="$pkgdir"/usr install
}