updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sunflower-hg / PKGBUILD
blobc8a29fe4baffe677d101dae6e5bdba9127bfc854
1 pkgname=sunflower-hg
2 pkgver=987
3 pkgrel=1
4 pkgdesc="Small and highly customizable twin-panel file manager for Linux with support for plugins"
5 arch=('any')
6 url="https://code.google.com/p/sunflower-fm/"
7 license=('GPL3')
8 depends=(pygtk python-notify vte)
9 makedepends=(mercurial)
10 source=(sunflower.desktop)
11 md5sums=(9cfbe8c2075b39b9d62242ef48598105)
12 conflicts=('sunflower')
14 _hgroot=https://sunflower-fm.googlecode.com/hg/
15 _hgrepo=sunflower-fm
17 package() {
18     mkdir -p $pkgdir/{opt,usr/bin}
19     cp -a $srcdir/sunflower-fm $pkgdir/opt/sunflower
20     echo -e "#!/bin/sh\npython2 /opt/sunflower/Sunflower.py" > $pkgdir/usr/bin/sunflower
21     chmod +x $pkgdir/usr/bin/sunflower
22     mkdir -p $pkgdir/usr/share/applications
23     cp sunflower.desktop $pkgdir/usr/share/applications/