updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / htpicker / PKGBUILD
blob1a6f7ce17fb7b843541cf5cb20a1facd9d6b969e
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=htpicker
4 pkgver=0.1.3
5 pkgrel=2
6 pkgdesc="A simple file browser for your Linux-based HTPC (Home Theater PC)"
7 arch=('any')
8 url="http://incise.org/htpicker.html"
9 license=('GPL')
10 depends=('pywebkitgtk')
11 makedepends=('python2-distribute')
12 optdepends=('pylirc: remote control support'
13             'python2-pyinotify: notifications support')
14 source=("http://pypi.python.org/packages/source/h/$pkgname/$pkgname-$pkgver.tar.gz")
15 md5sums=('7e460570470a714f39d61371fd8c2c60')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   python2 setup.py build
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   python2 setup.py install --prefix=/usr --root="$pkgdir/"
28   # python2 fix
29   sed -i "s/env python/&2/" `grep -rl "env python" "$pkgdir"`
32 # vim:set ts=2 sw=2 et: