diff options
Diffstat (limited to 'community/synce-vdccm/PKGBUILD')
-rw-r--r-- | community/synce-vdccm/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/community/synce-vdccm/PKGBUILD b/community/synce-vdccm/PKGBUILD index ef43928d7..384394e78 100644 --- a/community/synce-vdccm/PKGBUILD +++ b/community/synce-vdccm/PKGBUILD @@ -1,26 +1,24 @@ -# $Id: PKGBUILD 17750 2010-05-24 21:46:24Z spupykin $ +# $Id: PKGBUILD 53376 2011-08-03 10:12:14Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Zhukov Pavel <gelios@gmail.com> pkgname=synce-vdccm pkgver=0.10.1 -pkgrel=2 +pkgrel=3 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') +source=(http://downloads.sourceforge.net/synce/vdccm-$pkgver.tar.gz + build-fix.patch) +md5sums=('43bca4c2fdb658f99b07549fa03832e0' + 'b90e1f8b46e70cd7f8f66f7ef041f3ac') build() { cd $srcdir/vdccm-$pkgver + patch -p1 <$srcdir/build-fix.patch ./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 + make + make DESTDIR=$pkgdir install } |