PKGBUILDs/community/synce-serial/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
834 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
pkgname=synce-serial
pkgver=0.11
pkgrel=2
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/"
license=('GPL')
source=(http://downloads.sourceforge.net/synce/$pkgname-$pkgver.tar.gz)
md5sums=('a83f20eb59c845de192645158d051062')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
make || return 1
make DESTDIR=$startdir/pkg 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
}