5 pkgdesc="Python module with accompanying script to access pacman database information. Includes AUR support."
7 url=('http://www.freshcheese.net/~wrythe/psearch')
10 source=(http://www.freshcheese.net/~wrythe/psearch/source/psearch-${pkgver}-${_pkgrel}.tar.gz)
11 md5sums=('f5e8d6c68cdfe59373faae9b280ab819')
14 cd $srcdir/psearch-$pkgver-${_pkgrel}
15 sed -i -e 's#python$#python2#' `find . -name psearch`
16 python2 setup.py install --root=$pkgdir/
18 install -D -m755 psearch $pkgdir/usr/bin/psearch
19 install -D -m644 psearch.1 $pkgdir/usr/man/man1/psearch.1