#Packager: Frédéric Galusik pkgname=grin pkgver=1.2.1 pkgrel=1fg #arch=noarch source=(http://pypi.python.org/packages/source/g/$pkgname/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/ docs=("announce.txt" "license.txt" "readme.txt" "thanks.txt") url=http://pypi.python.org/pypi/grin slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "grin (a powerful grep program)" "Grin help you search directories full of source code. The venerable " "GNU grep and find are great tools, but they fall just a little short " "for normal use cases." ) build() { cd $SRC/$pkgname-$pkgver # no need to search for argparse in distutils, now in the # standard lib sed -i "37,39d" setup.py python setup.py install --prefix=/usr --root=$PKG }