pkgname=python2-monotonic pkgver=1.0 pkgrel=1 pkgdesc="An implementation of time.monotonic() for Python 2 & < 3.3" arch=('any') url='http://pypi.python.org/pypi/monotonic' license=('Apache') depends=('python2') makedepends=('python2-setuptools') source=("https://pypi.python.org/packages/source/m/monotonic/monotonic-${pkgver}.tar.gz") sha256sums=('47d7d045b3f2a08bffe683d761ef7f9131a2598db1cec7532a06720656cf719d') package() { cd monotonic-${pkgver} python2 setup.py install --root="${pkgdir}" --optimize=1 }