updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / psearch / PKGBUILD
blob579b21fd16d6f916fc4cf6638d2ba83974abea6f
1 pkgname=psearch
2 pkgver=1.1
3 pkgrel=8
4 _pkgrel=7
5 pkgdesc="Python module with accompanying script to access pacman database information. Includes AUR support."
6 arch=(i686 x86_64)
7 url=('http://www.freshcheese.net/~wrythe/psearch')
8 license="GPL"
9 depends=('python2')
10 source=(http://www.freshcheese.net/~wrythe/psearch/source/psearch-${pkgver}-${_pkgrel}.tar.gz)
11 md5sums=('f5e8d6c68cdfe59373faae9b280ab819')
13 build() {
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