# $Id: PKGBUILD 17750 2010-05-24 21:46:24Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Zhukov Pavel 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' 'mips64el') 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 ' lib/tcpsocket.cpp lib/tcpconnectedsocket.cpp lib/tcpclientsocket.cpp lib/udpsocket.cpp src/rapiclient.cpp sed -i '1,1i#include ' lib/udpsocket.h src/rapiclient.h sed -i '1,1i#include ' src/rapiclient.h sed -i '1,1i#include ' src/rapiconnection.cpp make || return 1 make DESTDIR=$pkgdir install || return 1 }