Permalink
Browse files

Updated and fixed Apache CXF

  • Loading branch information...
1 parent c399ef5 commit 266f9627c6d5b843c862f6490f422c0ec8b12469 r1pp3rj4ck committed Apr 22, 2014
Showing with 19 additions and 8 deletions.
  1. +19 −8 apache-cxf/PKGBUILD
View
@@ -1,32 +1,43 @@
# Maintainer: Thomas Weißschuh <thomas t-8ch de>
# Contributor: Caleb Cushing <xenoterracide@gmail.com>
+# Contributor: Attila Bukor <r1pp3rj4ck@w4it.eu>
pkgname=apache-cxf
-pkgver=2.7.8
+pkgver=2.7.11
pkgrel=1
pkgdesc='open source services framework'
arch=('any')
license=('Apache')
url='http://cxf.apache.org'
+makedepends=('maven')
depends=('java-runtime')
-source=("http://www.us.apache.org/dist/cxf/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+source=("http://www.us.apache.org/dist/cxf/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
'apache-cxf.sh')
+_distdir="${pkgname}-${pkgver}-src/distribution/src/main/release"
+md5sums=('8e2734c1663baa1703044f0b7ec6d6d8'
+ '94fa4d0c0f7f2ba93c30eee05e644c7a')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}-src"
+ export MAVEN_OPTS="-XX:MaxPermSize=192m -Xmx768M"
+ mvn -Pfastinstall
+}
+
+package() {
install -m755 -d \
"${pkgdir}/usr/share/${pkgname}/lib" \
"${pkgdir}/usr/bin" \
"${pkgdir}/etc/profile.d"
- cp -r "${srcdir}/${pkgname}-${pkgver}/lib/"* "${pkgdir}/usr/share/${pkgname}/lib"
- rm "${pkgdir}/usr/share/${pkgname}/lib/WHICH_JARS"
+ cp -r "${srcdir}/${_distdir}/lib/"* "${pkgdir}/usr/share/${pkgname}/lib"
- cp -r "${srcdir}/${pkgname}-${pkgver}/bin" "${pkgdir}/usr/"
+ cp -r "${srcdir}/${_distdir}/bin" "${pkgdir}/usr/"
find "${pkgdir}/usr/bin/" -name '*.bat' -delete
+ # to resolve conflict between midnight commander and apache-cxf
+ mv "${pkgdir}/usr/bin/mc" "${pkgdir}/usr/bin/apache-mc"
+
install -m 644 "${srcdir}/apache-cxf.sh" "${pkgdir}/etc/profile.d"
}
-sha256sums=('bc263b2c99fe11d86688b30104e43746dfafc78e47c66f6183b821654e1a1022'
- 'fc0b25735c0c3294cd1dc1adb892a708b2ac6ab2520b126d8bd0e44837a4bd30')
+# vim: ts=2 sw=2 et

0 comments on commit 266f962

Please sign in to comment.