updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / rabbitvcs-thunar / PKGBUILD
blobb6a2f5833b572e4e78518fdf586162809c4be41a
1 #Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
3 pkgname=rabbitvcs-thunar
4 pkgver=0.14.2.1
5 pkgrel=2
6 pkgdesc="Thunar front-end for RabbitVCS"
7 arch=('i686' 'x86_64')
8 url="http://rabbitvcs.org/"
9 depends=('thunar>=0.4.0' 'thunarx-python>=0.2.0' 'dbus-python>=0.80' 'rabbitvcs>=${pkgver}')
10 license=('GPL')
11 source=(http://rabbitvcs.googlecode.com/files/rabbitvcs-${pkgver}.tar.gz)
12 md5sums=('db6f73014639d93653f3e2af2b0ed11f')
14 build(){
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