1 # Maintainer: Renzo Carbonara < gnuk0001 at gmail >
2 # Maintainer: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Cilyan Olowen
4 # Contributor: Stanislav Karchebny <berkus+arch@madfire.net>
9 pkgdesc='Python wrapper for Skype public API.'
10 arch=('i686' 'x86_64')
12 url='http://sourceforge.net/projects/skype4py/'
13 depends=('python2' 'skype')
14 source=("http://downloads.sourceforge.net/skype4py/Skype4Py-$pkgver.tar.gz"
15 "python27-fix_os_execlp_call.patch")
16 md5sums=('0dc52c41b7f24815ff88d6af4c10de04'
17 '9b8737b4be1680d810740f42d51876a4')
20 site_packages_dir=`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
22 chmod -R a+rX Skype4Py-$pkgver/
23 chmod -R u+w Skype4Py-$pkgver/
26 patch -p0 < "${srcdir}/python27-fix_os_execlp_call.patch"
28 python2 setup.py install --root="$pkgdir" --prefix=/usr
30 install -d "${pkgdir}/usr/share/licenses/${pkgname}"
31 mv "${pkgdir}${site_packages_dir}/Skype4Py/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"