summaryrefslogtreecommitdiff
path: root/community/synce-core/PKGBUILD
blob: 55dd9c6eb6bd139b0c67fc2e0dd0019813abee7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 103618 2014-01-08 11:37:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan Was <janek.jan@gmail.com>

pkgname=synce-core
pkgver=0.17
pkgrel=3
pkgdesc="provide a means of communication with a Windows CE device - libraries"
arch=('i686' 'x86_64')
url="http://synce.sourceforge.net/"
license=('GPL')
depends=('dbus-glib' 'udev' 'python2')
makedepends=('dhclient' 'pyrex')
provides=('synce-libsynce' 'synce-librapi')
replaces=('synce-libsynce' 'synce-librapi')
conflicts=('synce-libsynce' 'synce-librapi')
source=(http://downloads.sourceforge.net/sourceforge/synce/SynCE/synce-core/synce-core-$pkgver.tar.gz)
md5sums=('ee0b9369b6fea5e2d1b970503dd7cb0e')

build() {
  cd $srcdir/$pkgname-$pkgver
  PYTHON=/usr/bin/python2 \
    ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/synce-core \
        --enable-odccm-support --enable-udev-support --enable-bluetooth-support
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}