1 # Maintainer: Matthew Bauer <mjbauer95@gmail.com>
6 pkgdesc="A program to view and manipulate data on many CDMA phones from LG, Samsung, Sanyo, etc (SVN)."
8 url="http://www.bitpim.org/"
10 depends=('python' 'gtk2' 'libusb' 'libstdc++5' 'gmp' 'libsm' 'libxxf86vm' 'python-pyserial' 'python-apsw' 'wxpython')
11 makedepends=('subversion')
12 source=('usr-bin' 'desktop-shortcut')
14 md5sums=('b0eb7983a25e47d1056f6b827bf4ea16'
15 '3b81f536725f336186084323ee193fd1')
17 _svntrunk=https://bitpim.svn.sourceforge.net/svnroot/bitpim/trunk/bitpim/
23 mkdir -p ${pkgdir}/usr/bin
24 install -m 755 usr-bin ${pkgdir}/usr/bin/bitpim
26 mkdir -p ${pkgdir}/usr/share/applications
27 cp desktop-shortcut ${pkgdir}/usr/share/applications/bitpim.desktop
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
37 mkdir -p ${pkgdir}/usr/share/bitpim
38 cp -r help helpers resources src ${pkgdir}/usr/share/bitpim
40 sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
41 -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
42 $(find $pkgdir -name '*.py')