summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgraysky2015-06-08 17:58:51 -0400
committergraysky2015-06-08 17:58:51 -0400
commit8c622f22d3a3ce3097d41bfeb4eaa99e2d57f57f (patch)
treeb3ad982b04c129086b3368f5ca3d17a05de82be2 /PKGBUILD
downloadaur-8c622f22d3a3ce3097d41bfeb4eaa99e2d57f57f.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD57
1 files changed, 57 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e0572b9cf0d6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: graysky <graysky AT archlinux DOT us>
+# Contributor: germar <germar DOT reitze AT gmail DOT com>
+
+pkgname=('backintime' 'backintime-cli')
+_pkgname="backintime"
+pkgver=1.1.4
+pkgrel=2
+arch=('any')
+url="https://launchpad.net/backintime"
+license=('GPL')
+makedepends=('python')
+source=("https://launchpadlibrarian.net/200955618/$_pkgname-$pkgver.tar.gz"
+"https://launchpadlibrarian.net/200955619/$_pkgname-$pkgver.tar.gz.asc")
+sha256sums=('434fc1fb6d9ac20d7b04c791e39bf9e077773c696e18f2bf1aa8f3e7fb59a770'
+ 'SKIP')
+validpgpkeys=('3E70692EE3DB8BDDA5991C90615F366D944B4826') # Germar Reitze
+# https://wiki.archlinux.org/index.php/Makepkg#Signature_checking
+
+build() {
+ cd "$_pkgname-$pkgver/common"
+ ./configure --python --no-fuse-group
+ make
+
+ cd "$srcdir/$_pkgname-$pkgver/qt4"
+ ./configure --python
+ make
+}
+
+package_backintime-cli() {
+ pkgdesc="Simple backup system inspired from the Flyback Project and TimeVault. CLI version."
+ depends=('rsync' 'cron' 'openssh' 'python-keyring' 'python-dbus')
+ optdepends=('backintime: QT4 GUI version'
+ 'encfs: encrypted filesystem in user-space'
+ 'pm-utils: for laptops allows an option to not snapshot on battery'
+ 'sshfs: FUSE client based on the ssh file transfer protocol')
+ conflicts=('backintime<1.1.0')
+ replaces=('backintime<1.1.0')
+
+ cd "$_pkgname-$pkgver/common"
+ make DESTDIR="$pkgdir" install
+}
+
+package_backintime() {
+ pkgdesc="Simple backup system inspired from the Flyback Project and TimeVault. QT4 GUI version."
+ depends=("backintime-cli=$pkgver" 'xorg-xdpyinfo' 'python-pyqt4' 'libnotify'
+ 'ttf-font' 'icu' 'polkit')
+
+ # note users can optionally install EITHER kdesdk-kompare OR meld but not both!
+ optdepends=('kdesdk-kompare: diff/patch frontend'
+ 'meld: diff/patch frontend'
+ 'python-keyring: store and access passwords safely')
+ conflicts=("backintime<1.1.0")
+ replaces=("backintime<1.1.0")
+
+ cd "$_pkgname-$pkgver/qt4"
+ make DESTDIR="$pkgdir" install
+}