updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / synce-odccm / PKGBUILD
blob9794e25b05dd0418380f1f0c3121e56a69a2a97b
1 # $Id: PKGBUILD 20945 2010-07-12 20:22:41Z spupykin $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
5 pkgname=synce-odccm
6 pkgver=0.13
7 pkgrel=5
8 pkgdesc="provide a means of communication with a Windows CE device - daemon to communicate with a handheld device"
9 arch=('i686' 'x86_64')
10 url="http://synce.sourceforge.net/"
11 license=('GPL')
12 depends=('synce-libsynce' 'gnet')
13 backup=(etc/dbus/system.d/odccm.conf)
14 source=(http://downloads.sourceforge.net/synce/odccm-$pkgver.tar.gz
15         synce-odccm.rc
16         dbus-error-fix.patch)
17 md5sums=('8f12585398f1a79518887d5f94cf122d'
18          '5759fb86bb2af46d632c3807616c8999'
19          '4eea398fe356fe0d8c57d65d6f24b3db')
21 build() {
22   cd $srcdir/odccm-$pkgver
23   patch -p1 <$srcdir/dbus-error-fix.patch
24   ./configure --prefix=/usr
25   make
26   make DESTDIR=$pkgdir install
27   install -D -m 644 $srcdir/odccm-$pkgver/src/odccm.conf $pkgdir/etc/dbus-1/system.d/odccm.conf
28   install -D -m 755 $srcdir/synce-odccm.rc $pkgdir/etc/rc.d/synce-odccm