desktop/backintime/PKGBUILD

44 lines
1.5 KiB
Bash
Raw Normal View History

pkgname=backintime
2015-10-02 22:52:35 +08:00
pkgver=1.1.8
2015-07-08 05:57:17 +08:00
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"
2015-03-25 21:34:20 +08:00
depends=('rsync' 'cron' 'python' 'xorg-utils' 'python3-pyqt4' 'python3-keyring' 'icu' 'polkit'
'openssh' 'python3-dbus' 'libnotify')
categories=('utils' 'backup')
2015-03-20 17:53:23 +08:00
provides=('backintime-kde')
conflicts=('backintime-kde')
replaces=('backintime-kde')
2015-07-08 05:57:17 +08:00
source=("https://launchpad.net/backintime/1.1/${pkgver}/+download/backintime-${pkgver}.tar.gz"
"${pkgname}.png")
2015-10-02 22:52:35 +08:00
sha512sums=('550e270dcf341ec5ad952f4decd836007d19ff9bf60cada834dfb488dbf29954b6fd3ed80a4f8fb4406a0166895a7f7c922e5622d06c43086dd54073e5aabd99'
2015-07-08 05:57:17 +08:00
'596dc61d734877baa1fcf8af1afd910581dbe4670517a74229f850b284eb135e11b7bb09963521379c3513e736d183258fc142f246cd74a680c759f0bfa4a382')
build() {
cd "${srcdir}/${pkgname}-${pkgver}/common"
2015-03-25 21:34:20 +08:00
./configure --python3 --no-fuse-group
make
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
2015-03-25 21:34:20 +08:00
./configure --python3
make
}
package(){
cd "${srcdir}/${pkgname}-${pkgver}/common"
make DESTDIR="${pkgdir}" install
cd "${srcdir}/${pkgname}-${pkgver}/qt4"
make DESTDIR="${pkgdir}" install
2015-07-08 05:57:17 +08:00
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
}