summaryrefslogtreecommitdiff
path: root/community/synce-core/PKGBUILD
blob: 77b4846991667d8897c043625429b6cf1ea5758a (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
32
# $Id: PKGBUILD 95579 2013-08-14 14:20:51Z spupykin $
# 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')
options=('!libtool')
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
}