summaryrefslogtreecommitdiff
path: root/social/qxmlrpc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'social/qxmlrpc/PKGBUILD')
-rw-r--r--social/qxmlrpc/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/social/qxmlrpc/PKGBUILD b/social/qxmlrpc/PKGBUILD
new file mode 100644
index 000000000..2e23c0a47
--- /dev/null
+++ b/social/qxmlrpc/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Sid Karunaratne <sid at karunaratne dot net>
+pkgname=qxmlrpc
+pkgver=6
+pkgrel=1
+pkgdesc="a full Qt4 based implementation of XML-RPC protocol"
+arch=('i686' 'x86_64')
+url="https://code.google.com/p/qxmlrpc"
+license=('LGPL')
+depends=('qt')
+makedepends=('subversion')
+source=("https://repo.parabolagnulinux.org/other/$pkgname-$pkgver-$pkgrel-any.src.tar.xz"{,.sig}
+ "01_build_targets.patch"
+ "02_staticlib_removed.patch"
+ "03_client.h_include_fix.patch"
+ "04_do_not_link_gui.patch")
+md5sums=("87a89cc118e816265989a87a2b3c9321"
+ "7f10b0f33b6d0a67136838740b4b7c72"
+ "7d997d9fc0f8ec08e7b0c640480eb941"
+ "ee1a3d2a284c93f41d3c76c163ee734d"
+ "c5cacf7e13b93abb3e8e223118c5abbb"
+ "8ff188be390bcd1966b354d7159fd0e6")
+
+build () {
+ cd "${srcdir}/${pkgname}"
+ msg "Starting build..."
+
+ patch -p1 < ../01_build_targets.patch
+ patch -p1 < ../02_staticlib_removed.patch
+ patch -p1 < ../03_client.h_include_fix.patch
+ patch -p1 < ../04_do_not_link_gui.patch
+
+ qmake
+ make
+}
+
+package() {
+ install -Dm 755 "$srcdir/$pkgname/libqxmlrpc.so" "$pkgdir/usr/lib/libqxmlrpc.so"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/client.h" "$pkgdir/usr/include/qxmlrpc/client.h"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/request.h" "$pkgdir/usr/include/qxmlrpc/request.h"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/response.h" "$pkgdir/usr/include/qxmlrpc/response.h"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/server.h" "$pkgdir/usr/include/qxmlrpc/server.h"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/serverintrospection.h" "$pkgdir/usr/include/qxmlrpc/serverintrospection.h"
+ install -Dm 755 "$srcdir/$pkgname/xmlrpc/variant.h" "$pkgdir/usr/include/qxmlrpc/variant.h"
+}