[arch-commits] Commit in xalan-c/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Wed Jul 22 20:39:37 UTC 2020


    Date: Wednesday, July 22, 2020 @ 20:39:37
  Author: eworm
Revision: 664912

upgpkg: xalan-c 1:1.12-1: new upstream release, build with cmake

Modified:
  xalan-c/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-22 20:22:21 UTC (rev 664911)
+++ PKGBUILD	2020-07-22 20:39:37 UTC (rev 664912)
@@ -2,28 +2,34 @@
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=xalan-c
-pkgver=1.11
-pkgrel=3
+pkgver=1.12
+pkgrel=1
 epoch=1
 pkgdesc="A XSLT processor for transforming XML documents"
 arch=('x86_64')
 url="https://xalan.apache.org/"
 license=('APACHE')
+makedepends=('cmake')
 depends=('xerces-c')
-validpgpkeys=('78C476CF17BB57E17475C80B828B1A23586A109E') # David N. Bertoni <david_n_bertoni at us.ibm.com>
-source=("https://www.apache.org/dist/xalan/xalan-c/sources/xalan_c-$pkgver-src.tar.gz"{,.asc})
-sha256sums=('4f5e7f75733d72e30a2165f9fdb9371831cf6ff0d1997b1fb64cdd5dc2126a28'
+provides=('libxalan-c.so' 'libxalanMsg.so')
+validpgpkeys=('F33D281D470AB4436756147C07B3C8BC4083E800') # Roger Leigh <rleigh at debian.org>
+source=("https://downloads.apache.org/xalan/xalan-c/sources/xalan_c-$pkgver.tar.gz"{,.asc})
+sha256sums=('ee7d4b0b08c5676f5e586c7154d94a5b32b299ac3cbb946e24c4375a25552da7'
             'SKIP')
 
 build() {
-  export XALANCROOT="${srcdir}/$pkgname-$pkgver/c"
-  cd "$pkgname-$pkgver/c"
+  mkdir build
+  cd build
 
-  ./runConfigure -p linux -c gcc -x g++ -P/usr
-  make -j1
+  cmake \
+    "../xalan_c-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
 }
 
 package() {
-  cd "$pkgname-$pkgver/c"
+  cd build
+
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list