summaryrefslogtreecommitdiff
path: root/community/synce-serial/PKGBUILD
blob: 9eeee088449e13872c31cabdf8c143ebe7b5e786 (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
# $Id: PKGBUILD 91842 2013-05-28 17:05:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-serial
pkgver=0.11
pkgrel=5
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 --sbindir=/usr/bin
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  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
}