summaryrefslogtreecommitdiff
path: root/pcr/qxmlrpc/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
commit0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch)
treed6f6cf5d6939e1f030a48d3711d3606570afd08f /pcr/qxmlrpc/PKGBUILD
parented9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff)
downloadabslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.gz
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.bz2
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.zip
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'pcr/qxmlrpc/PKGBUILD')
-rw-r--r--pcr/qxmlrpc/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/qxmlrpc/PKGBUILD b/pcr/qxmlrpc/PKGBUILD
new file mode 100644
index 000000000..b39b40890
--- /dev/null
+++ b/pcr/qxmlrpc/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer (Arch): 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' 'mips64el')
+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"
+}