Date: Monday, August 19, 2013 @ 13:00:07
  Author: angvp
Revision: 96032

archrelease: copy trunk to community-testing-any

Added:
  synce-kde/repos/community-testing-any/
  synce-kde/repos/community-testing-any/PKGBUILD
    (from rev 96031, synce-kde/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: synce-kde/repos/community-testing-any/PKGBUILD (from rev 96031, 
synce-kde/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2013-08-19 11:00:07 UTC (rev 96032)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Zhukov Pavel <gel...@gmail.com>
+
+pkgname=synce-kde
+pkgver=0.15
+pkgrel=8
+pkgdesc="Provide a means of communication with a Windows CE device - KDE tools 
and integration"
+arch=(any)
+url="http://synce.sourceforge.net/";
+license=('GPL')
+depends=('synce-librapi' 'synce-rra' 'pygobject' 'synce-sync-engine'
+         'kdebindings-python2')
+optdepends=('unshield' 'orange' 'dynamite')
+makedepends=('agsync' 'synce-rra' 'python2-setuptools')
+source=("http://downloads.sourceforge.net/synce/synce-kpm-$pkgver.tar.gz";)
+md5sums=('12130b93710b849e18f72752a6949393')
+
+package() {
+  cd $srcdir/synce-kpm-$pkgver
+  
+  python2 setup.py install --root=$pkgdir --optimize=1 
+
+  # python2 fix
+  for file in $(find "${pkgdir}" -name '*.py' -print); do
+    sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+    sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+  done
+}

Reply via email to