desktop/papyon/PKGBUILD

25 lines
799 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=papyon
pkgver=0.5.5
pkgrel=1
pkgdesc="The library behind the msn connection manager: telepathy-butterfly."
arch=('any')
url="http://www.freedesktop.org/wiki/Software/papyon"
license=("GPL")
depends=('pygobject' 'pyopenssl' 'pycrypto')
source=(http://www.freedesktop.org/software/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz)
md5sums=('5ff20d18103d09177ad6f3c2e82747c1')
package(){
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
sed -i "s|env python|env python2|" "${pkgdir}/usr/lib/python2.7/site-packages/papyon/msnp2p/test.py"
}