summaryrefslogtreecommitdiff
path: root/community/synce-serial/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/synce-serial/PKGBUILD')
-rw-r--r--community/synce-serial/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/synce-serial/PKGBUILD b/community/synce-serial/PKGBUILD
new file mode 100644
index 000000000..f89a77018
--- /dev/null
+++ b/community/synce-serial/PKGBUILD
@@ -0,0 +1,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')
+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
+}