mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
pkgname=backintime
|
|
pkgver=1.1.12
|
|
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' 'python3' '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=('e1dc3e3d2bac8b0f390898029978e806128ffd6005471a7e8a697c44f9e271f9902b496b33b037133f9a509f4ca3f8b8f10adf681b670ec9a1a751dfc786cb62'
|
|
'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
|
|
}
|