summaryrefslogtreecommitdiff
path: root/community/synce-core/PKGBUILD
blob: 845e770eda352f8df4378f18effe384832153369 (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 99997 2013-10-31 02:54:44Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan Was <janek.jan@gmail.com>

pkgname=synce-core
pkgver=0.17
pkgrel=1
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')
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
}