mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
pkgname=backintime
|
|
pkgver=1.1.6
|
|
pkgrel=1
|
|
pkgdesc="A simple backup system for Linux inspired from 'flyback project' and 'TimeVault'."
|
|
arch=('x86_64')
|
|
url="https://launchpad.net/backintime"
|
|
license="GPL"
|
|
depends=('rsync' 'cron' 'python' 'xorg-utils' 'python3-pyqt4' 'python3-keyring' 'icu' 'polkit'
|
|
'openssh' 'python3-dbus' 'libnotify')
|
|
categories=('utils' 'backup')
|
|
provides=('backintime-kde')
|
|
conflicts=('backintime-kde')
|
|
replaces=('backintime-kde')
|
|
source=("https://launchpad.net/backintime/1.1/${pkgver}/+download/backintime-${pkgver}.tar.gz"
|
|
"${pkgname}.png")
|
|
sha512sums=('d040c4a325b0b2a25a76670c0b35c890a34be21d3d05f6d042f4484bb10056776c0d2e919a81b94074e4b7296d30f4885f5db6d39b1d0f18bf92bab5cbcddc1a'
|
|
'596dc61d734877baa1fcf8af1afd910581dbe4670517a74229f850b284eb135e11b7bb09963521379c3513e736d183258fc142f246cd74a680c759f0bfa4a382')
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/common"
|
|
./configure --python3 --no-fuse-group
|
|
make
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
|
|
./configure --python3
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}/common"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -D ../../${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
|
|
|
|
sed -i s!"Icon=document-save"!"Icon=backintime"! \
|
|
${pkgdir}/usr/share/applications/${pkgname}-qt4-root.desktop
|
|
sed -i s!"Icon=document-save"!"Icon=backintime"! \
|
|
${pkgdir}/usr/share/applications/${pkgname}-qt4.desktop
|
|
}
|