summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilcu32020-03-28 11:57:28 +0100
committergilcu32020-03-28 12:04:30 +0100
commit20a38b37e475b7d00cd8b481dde4f0691b3a8ff5 (patch)
tree49c28992a32272d332a36bab7a2c304bf17eb6cb
parent7d7dbeee93ce02a081e37d6cbb1c3d96f7678161 (diff)
downloadaur-20a38b37e475b7d00cd8b481dde4f0691b3a8ff5.tar.gz
updated to use current rabbitvcs version
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD41
-rw-r--r--rabbitvcs-thunar.install26
3 files changed, 62 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fd44caf8d1..87254352c40 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,16 @@
-# Generated by mksrcinfo v8
-# Sat Mar 3 11:05:23 UTC 2018
pkgbase = rabbitvcs-thunar
- pkgdesc = Thunar front-end for RabbitVCS
- pkgver = 0.17.1
+ pkgdesc = Thunar front-end for RabbitVCS SVN GIT HG Extension.
+ pkgver = 0.18.0
pkgrel = 1
- url = http://rabbitvcs.org/
- arch = i686
- arch = x86_64
+ url = https://github.com/rabbitvcs/rabbitvcs
+ install = rabbitvcs-thunar.install
+ arch = any
license = GPL
- depends = thunar>=0.4.0
- depends = thunarx-python>=0.2.0
- depends = dbus-python>=0.80
- depends = rabbitvcs>=0.17.1
- source = https://github.com/rabbitvcs/rabbitvcs/archive/v0.17.1.tar.gz
- md5sums = 95b7c30945f10333588a39b5f6766136
+ depends = thunarx-python
+ depends = python-dbus
+ depends = rabbitvcs>=0.18.0
+ source = rabbitvcs-0.18.0-1.tar.gz::https://github.com/rabbitvcs/rabbitvcs/archive/e44328e01ed82dd8a8dbfec952f5982e355b8416.tar.gz
+ sha256sums = a9f59d0eff65526887f719eb72712eac7d7aaa84cf9993c7b69b7b17b0b13143
pkgname = rabbitvcs-thunar
diff --git a/PKGBUILD b/PKGBUILD
index 22013e55acf..b75fd396cee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,32 @@
-#Maintainer: D. Can Celasun <can[at]dcc[dot]im>
-#Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
+# Maintainer gilcu3 <gilcu3 at gmail dot com>
+# Contributor: D. Can Celasun <can[at]dcc[dot]im>
+# Contributor: Dmitry Batenkov <dima dot batenkov at gmail dot com>
pkgname=rabbitvcs-thunar
-pkgver=0.17.1
+pkgver=0.18.0
pkgrel=1
-pkgdesc="Thunar front-end for RabbitVCS"
-arch=('i686' 'x86_64')
-url="http://rabbitvcs.org/"
-depends=('thunar>=0.4.0' 'thunarx-python>=0.2.0' 'dbus-python>=0.80' "rabbitvcs>=${pkgver}")
+pkgdesc="Thunar front-end for RabbitVCS SVN GIT HG Extension."
+_gitcommit='e44328e01ed82dd8a8dbfec952f5982e355b8416'
+arch=('any')
+url="https://github.com/rabbitvcs/rabbitvcs"
+install=$pkgname.install
+depends=('thunarx-python' 'python-dbus' "rabbitvcs>=$pkgver")
license=('GPL')
-source=(https://github.com/rabbitvcs/rabbitvcs/archive/v${pkgver}.tar.gz)
-md5sums=('95b7c30945f10333588a39b5f6766136')
+if [ "${_gitcommit}" != "" ]; then
+ source=("rabbitvcs-$pkgver-$pkgrel.tar.gz::$url/archive/$_gitcommit.tar.gz")
+else
+ source=("rabbitvcs-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+fi
+sha256sums=('a9f59d0eff65526887f719eb72712eac7d7aaa84cf9993c7b69b7b17b0b13143')
+#sha256sums=('SKIP')
+
+
+build() {
+ if [ "$_gitcommit" != "" ]; then
+ mv "$srcdir/rabbitvcs-$_gitcommit" "$srcdir/rabbitvcs-$pkgver"
+ fi
+}
+
package(){
- cd ${srcdir}/rabbitvcs-${pkgver}
- mkdir -p $pkgdir/usr/lib/thunarx-2/python
- mkdir -p $pkgdir/usr/lib/thunarx-1/python
- sed -i '1i #!/usr/bin/env python2' clients/thunar/RabbitVCS.py
- cp clients/thunar/RabbitVCS.py $pkgdir/usr/lib/thunarx-2/python
- cp clients/thunar/RabbitVCS.py $pkgdir/usr/lib/thunarx-1/python
+ install -Dm755 "$srcdir/rabbitvcs-$pkgver/clients/thunar/RabbitVCS.py" "$pkgdir/usr/lib/thunarx-3/python/RabbitVCS.py"
}
diff --git a/rabbitvcs-thunar.install b/rabbitvcs-thunar.install
new file mode 100644
index 00000000000..78aaf6fbfe8
--- /dev/null
+++ b/rabbitvcs-thunar.install
@@ -0,0 +1,26 @@
+post_install(){
+cat << _EOF
+=> Be sure to restart Thunar for RabbitCVS to get loaded.
+=> Restart thunar with the following commands:
+=> $ thunar -q
+=> $ nohup thunar > /dev/null &
+_EOF
+}
+
+post_upgrade(){
+cat << _EOF
+=> Be sure to restart Thunar for RabbitCVS to get reloaded.
+=> Restart thunar with the following commands:
+=> $ thunar -q
+=> $ nohup thunar > /dev/null &
+_EOF
+}
+
+post_remove(){
+cat << _EOF
+=> Be sure to restart Thunar for RabbitCVS to get unloaded.
+=> Restart thunar with the following commands:
+=> $ thunar -q
+=> $ nohup thunar > /dev/null &
+_EOF
+}