1 #Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
3 pkgname=rabbitvcs-thunar
6 pkgdesc="Thunar front-end for RabbitVCS"
8 url="http://rabbitvcs.org/"
9 depends=('thunar>=0.4.0' 'thunarx-python>=0.2.0' 'dbus-python>=0.80' 'rabbitvcs>=${pkgver}')
11 source=(http://rabbitvcs.googlecode.com/files/rabbitvcs-${pkgver}.tar.gz)
12 md5sums=('db6f73014639d93653f3e2af2b0ed11f')
15 cd ${srcdir}/rabbitvcs-${pkgver} || return 1
16 mkdir -p $pkgdir/usr/lib/thunarx-2/python || return 1
17 mkdir -p $pkgdir/usr/lib/thunarx-1/python || return 1
18 sed -i '1i #!/usr/bin/env python2' clients/thunar/RabbitVCS.py
19 cp clients/thunar/RabbitVCS.py $pkgdir/usr/lib/thunarx-2/python || return 1
20 cp clients/thunar/RabbitVCS.py $pkgdir/usr/lib/thunarx-1/python || return 1