diff options
-rw-r--r-- | .SRCINFO | 41 | ||||
-rw-r--r-- | PKGBUILD | 57 |
2 files changed, 98 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8a7b4dbbe36d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,41 @@ +pkgbase = backintime + pkgver = 1.1.4 + pkgrel = 2 + url = https://launchpad.net/backintime + arch = any + license = GPL + makedepends = python + source = https://launchpadlibrarian.net/200955618/backintime-1.1.4.tar.gz + source = https://launchpadlibrarian.net/200955619/backintime-1.1.4.tar.gz.asc + sha256sums = 434fc1fb6d9ac20d7b04c791e39bf9e077773c696e18f2bf1aa8f3e7fb59a770 + sha256sums = SKIP + +pkgname = backintime + pkgdesc = Simple backup system inspired from the Flyback Project and TimeVault. QT4 GUI version. + depends = backintime-cli=1.1.4 + depends = xorg-xdpyinfo + depends = python-pyqt4 + depends = libnotify + depends = ttf-font + depends = icu + depends = polkit + optdepends = kdesdk-kompare: diff/patch frontend + optdepends = meld: diff/patch frontend + optdepends = python-keyring: store and access passwords safely + conflicts = backintime<1.1.0 + replaces = backintime<1.1.0 + +pkgname = backintime-cli + pkgdesc = Simple backup system inspired from the Flyback Project and TimeVault. CLI version. + depends = rsync + depends = cron + depends = openssh + depends = python-keyring + depends = python-dbus + optdepends = backintime: QT4 GUI version + optdepends = encfs: encrypted filesystem in user-space + optdepends = pm-utils: for laptops allows an option to not snapshot on battery + optdepends = sshfs: FUSE client based on the ssh file transfer protocol + conflicts = backintime<1.1.0 + replaces = backintime<1.1.0 + 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 +} |