summaryrefslogtreecommitdiff
path: root/community/synce-vdccm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/synce-vdccm/PKGBUILD')
-rw-r--r--community/synce-vdccm/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/synce-vdccm/PKGBUILD b/community/synce-vdccm/PKGBUILD
new file mode 100644
index 000000000..ef43928d7
--- /dev/null
+++ b/community/synce-vdccm/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 17750 2010-05-24 21:46:24Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Zhukov Pavel <gelios@gmail.com>
+
+pkgname=synce-vdccm
+pkgver=0.10.1
+pkgrel=2
+pkgdesc="provide a means of communication with a Windows CE device - daemon to communicate with a handheld device"
+arch=('i686' 'x86_64')
+url="http://synce.sourceforge.net/"
+license=('GPL')
+depends=('synce-libsynce')
+source=(http://downloads.sourceforge.net/synce/vdccm-$pkgver.tar.gz)
+md5sums=('43bca4c2fdb658f99b07549fa03832e0')
+
+build() {
+ cd $srcdir/vdccm-$pkgver
+ ./configure --prefix=/usr
+ sed -i 's#-pedantic-errors##' Makefile.in src/Makefile.in Makefile src/Makefile
+ sed -i '1,1i#include <string.h>' lib/tcpsocket.cpp lib/tcpconnectedsocket.cpp lib/tcpclientsocket.cpp lib/udpsocket.cpp src/rapiclient.cpp
+ sed -i '1,1i#include <stdint.h>' lib/udpsocket.h src/rapiclient.h
+ sed -i '1,1i#include <limits.h>' src/rapiclient.h
+ sed -i '1,1i#include <stdio.h>' src/rapiconnection.cpp
+ make || return 1
+ make DESTDIR=$pkgdir install || return 1
+}