summaryrefslogtreecommitdiff
path: root/community/synce-serial/PKGBUILD
blob: 5dcf03feb96ad16bdb54a49f482867b5bf5d9091 (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
# $Id: PKGBUILD 65481 2012-02-21 06:01:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-serial
pkgver=0.11
pkgrel=4
pkgdesc="provide a means of communication with a Windows CE device - helper scripts for setting up a serial connection"
arch=('i686' 'x86_64' 'mips64el')
url="http://synce.sourceforge.net/"
depends=(sh)
license=('GPL')
source=(http://downloads.sourceforge.net/synce/$pkgname-$pkgver.tar.gz)
md5sums=('a83f20eb59c845de192645158d051062')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
  make
  make DESTDIR=$pkgdir install

  sed -i 's#/usr/etc/#/etc/#' $pkgdir/usr/share/synce/synce-serial-common
  sed -i 's#/usr/etc/#/etc/#' $pkgdir/usr/share/synce/synce-serial.conf
}