# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more # information on Python packaging. # Maintainer: Your Name _name=yappi _py=python2 pkgname=$_py-$_name pkgver=0.94 pkgrel=1 pkgdesc="Yet Another Python Profiler, but this time Thread-Aware" arch=(any) url="http://${_name}.googlecode.com/" license=('MIT') groups=() depends=($_py) makedepends=() provides=() conflicts=() replaces=() backup=() options=(!emptydirs) install= source=("https://pypi.python.org/packages/source/y/yappi/${_name}-${pkgver}.tar.gz") md5sums=('a02c49efe783c4e31d6bbd805a37adec') package() { cd "$srcdir/$_name-$pkgver" $_py setup.py install --root="$pkgdir/" --optimize=1 } # vim:set ts=2 sw=2 et: