summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2016-03-26 21:09:33 -0400
committergraysky2016-03-26 21:09:33 -0400
commitdebcf52b4731128614cfc6effe7ceb4a59d51ace (patch)
treefe8f1402ba5ee0d0e01f3d4df797e74b810db2d2
parent27f83ad57cf99fefa2c9042ba77ebbde8225d0c7 (diff)
downloadaur-debcf52b4731128614cfc6effe7ceb4a59d51ace.tar.gz
Update to 1.1.12-3
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
-rw-r--r--pkexec1.1.12.patch33
3 files changed, 46 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 034b7641366d..f739eb910dd5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
# Generated by mksrcinfo v8
-# Mon Feb 15 18:49:04 UTC 2016
+# Sun Mar 27 01:09:32 UTC 2016
pkgbase = backintime
pkgver = 1.1.12
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/bit-team/backintime
arch = any
license = GPL
makedepends = python
source = https://github.com/bit-team/backintime/archive/v1.1.12.tar.gz
+ source = pkexec1.1.12.patch
sha256sums = 76036de6abdf5a2b2fbf66311c369dce7e3755fa778e5f01aa49bc2be68eb9f1
+ sha256sums = b5be2317976db5d946047b5daa7ef75b029498225a9bb2763a18c93b07686e5e
pkgname = backintime
pkgdesc = Simple backup system inspired from the Flyback Project and TimeVault. QT4 GUI version.
diff --git a/PKGBUILD b/PKGBUILD
index 2af218f7fbd4..df7b5094bbf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,20 @@
pkgname=('backintime' 'backintime-cli')
_pkgname="backintime"
pkgver=1.1.12
-pkgrel=2
+pkgrel=3
arch=('any')
url="https://github.com/bit-team/backintime"
license=('GPL')
makedepends=('python')
-source=("https://github.com/bit-team/$_pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('76036de6abdf5a2b2fbf66311c369dce7e3755fa778e5f01aa49bc2be68eb9f1')
+source=("https://github.com/bit-team/$_pkgname/archive/v$pkgver.tar.gz"
+'pkexec1.1.12.patch')
+sha256sums=('76036de6abdf5a2b2fbf66311c369dce7e3755fa778e5f01aa49bc2be68eb9f1'
+ 'b5be2317976db5d946047b5daa7ef75b029498225a9bb2763a18c93b07686e5e')
-#prepare() {
-# cd "$_pkgname-$pkgver/common"
-# patch -i "$srcdir/Fix_bug_473-AttributeError.patch"
-#}
+prepare() {
+ cd "$_pkgname-$pkgver/qt4"
+ patch -i "$srcdir/pkexec1.1.12.patch"
+}
build() {
cd "$_pkgname-$pkgver/common"
diff --git a/pkexec1.1.12.patch b/pkexec1.1.12.patch
new file mode 100644
index 000000000000..db15bc037461
--- /dev/null
+++ b/pkexec1.1.12.patch
@@ -0,0 +1,33 @@
+diff --git a/qt4/backintime-qt4-root.desktop b/qt4/backintime-qt4-root.desktop
+index fef451b..61794c6 100644
+--- a/qt4/backintime-qt4-root.desktop
++++ b/qt4/backintime-qt4-root.desktop
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Name=Back In Time (root)
+ GenericName=Backup
+-Exec=pkexec backintime-qt4
++Exec=/usr/bin/backintime-qt4_polkit %f
+ Icon=document-save
+ Terminal=false
+ X-MultipleArgs=false
+diff --git a/qt4/backintime-qt4_polkit b/qt4/backintime-qt4_polkit
+new file mode 100644
+index 0000000..4a04190
+--- /dev/null
++++ b/qt4/backintime-qt4_polkit
+@@ -0,0 +1,2 @@
++#!/bin/sh
++pkexec --disable-internal-agent "/usr/bin/backintime-qt4" "$@"
+diff --git a/qt4/configure b/qt4/configure
+index 68803ca..a96e772 100755
+--- a/qt4/configure
++++ b/qt4/configure
+@@ -146,6 +146,7 @@ addNewline
+ addComment "application"
+ addInstallDir "/bin"
+ addInstallFile "backintime-qt4" "/bin" "755"
++addInstallFile "backintime-qt4_polkit" "/bin" "755"
+ addNewline
+
+ addComment "dbus service"