# Maintainer: Omar Vega Ramos _name=gnusrss pkgname=python-${_name} pkgver=0.2.1.7 pkgrel=1 pkgdesc="Python program to post RSS to GNU Social" arch=('any') url="http://daemons.cf/cgit/gnusrss/" license=('GPL') depends=('python-feedparser' 'python-pycurl' 'sqlite') makedepends=('python-setuptools') source=("http://daemons.cf/cgit/${_name}/snapshot/${_name}-${pkgver}.tar.gz" 'gnusrss-setup_encoding.patch') md5sums=('2ee38f6ad98fcf55a1877e4af193eb81' '27baacf85df644a0b2406a6216243a9d') prepare() { cd "${srcdir}/${_name}-${pkgver}" patch -Np1 -i "${srcdir}/gnusrss-setup_encoding.patch" } package() { cd "${srcdir}/${_name}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }