summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Weißschuh2015-07-06 06:01:45 +0000
committerThomas Weißschuh2015-07-06 06:06:16 +0000
commitbf9dcc4e70506acb1fd2c4dce537c4ae0a61aaf2 (patch)
tree54c55246fb4657cadffa9dbf49b65b3d3cfab8be
downloadaur-bf9dcc4e70506acb1fd2c4dce537c4ae0a61aaf2.tar.gz
add temporary stuff
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD40
-rw-r--r--apache-cxf.sh1
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..69bc15bf911
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = apache-cxf
+ pkgdesc = open source services framework
+ pkgver = 3.1.1
+ pkgrel = 1
+ url = http://cxf.apache.org
+ arch = any
+ license = Apache
+ depends = java-runtime
+ source = http://www.us.apache.org/dist/cxf/3.1.1/apache-cxf-3.1.1.tar.gz
+ source = apache-cxf.sh
+ sha256sums = 68a3dcdc19b794dd72dbc7bfbfd903e07ae1219b02f467414d714d3115f1917b
+ sha256sums = c52ba86604138776e50f6fc9506e21ad6f30064a54a0aaef3d5316245b14e668
+
+pkgname = apache-cxf
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..90e49a82b60
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Thomas Weißschuh <thomas t-8ch de>
+# Contributor: Caleb Cushing <xenoterracide@gmail.com>
+# Contributor: Attila Bukor <r1pp3rj4ck@w4it.eu>
+
+pkgname=apache-cxf
+pkgver=3.1.1
+pkgrel=1
+pkgdesc='open source services framework'
+arch=('any')
+license=('Apache')
+url='http://cxf.apache.org'
+depends=('java-runtime')
+source=("http://www.us.apache.org/dist/cxf/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'apache-cxf.sh')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -m755 -d \
+ "${pkgdir}/usr/share/java/${pkgname}/lib" \
+ "${pkgdir}/usr/share/doc/${pkgname}" \
+ "${pkgdir}/usr/bin" \
+ "${pkgdir}/etc/profile.d"
+
+ cp -r "${srcdir}/${pkgname}-${pkgver}/lib/"* \
+ "${pkgdir}/usr/share/java/${pkgname}/lib"
+ rm "${pkgdir}/usr/share/java/${pkgname}/lib/WHICH_JARS"
+ cp -r "${srcdir}/${pkgname}-${pkgver}/docs/api" \
+ "${pkgdir}/usr/share/doc/${pkgname}"
+
+ cp -r "${srcdir}/${pkgname}-${pkgver}/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=('68a3dcdc19b794dd72dbc7bfbfd903e07ae1219b02f467414d714d3115f1917b'
+ 'c52ba86604138776e50f6fc9506e21ad6f30064a54a0aaef3d5316245b14e668')
diff --git a/apache-cxf.sh b/apache-cxf.sh
new file mode 100644
index 00000000000..1f76c5647ab
--- /dev/null
+++ b/apache-cxf.sh
@@ -0,0 +1 @@
+export CXF_HOME="/usr/share/java/apache-cxf"