summaryrefslogtreecommitdiff
path: root/community/synce-serial/PKGBUILD
blob: 56375e689377cbbc49b41957e1f0cd44cac7c191 (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 17689 2010-05-24 20:41:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-serial
pkgver=0.11
pkgrel=3
pkgdesc="provide a means of communication with a Windows CE device - helper scripts for setting up a serial connection"
arch=('i686' 'x86_64')
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 || return 1
  make DESTDIR=$pkgdir install || return 1

  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
}