# Maintainer: Omar Vega Ramos _name=gnusrss pkgname=python-${_name} pkgver=0.2.2.1 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") md5sums=('71f1740c492c1dd26a337e2384ac4d8d') package() { cd "${srcdir}/${_name}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }