# Maintainer: Icaro Perseo pkgname=python-praw pkgver=2.1.21 pkgrel=1rvm source=("https://pypi.python.org/packages/source/p/praw/praw-$pkgver.tar.gz") sourcetemplate="http://people.salixos.org/icaroperseo/14.1/l/$pkgname" docs=('CHANGES.rst' 'README.rst' 'COPYING') url="https://github.com/praw-dev/praw/" slackdesc=\ ( #|-----handy-ruler---------------------------------------------------| "python-praw (Python Reddit API Wrapper)" "PRAW, an acronym for “Python Reddit API Wrapper”, is a python" "package that allows for simple access to reddit’s API. PRAW aims to" "be as easy to use as possible and is designed to follow all of" "reddit’s API rules. You have to give a useragent that follows the" "rules, everything else is handled by PRAW so you needn’t worry about" "violating them." ) build() { # Acceding to the working directory. cd $startdir/src/praw-$pkgver # Building the package. python setup.py install \ --prefix=/usr \ --root=$startdir/pkg/ }