55 lines
1.4 KiB
Bash
55 lines
1.4 KiB
Bash
# Template file for 'backintime'
|
|
pkgname=backintime
|
|
version=1.5.3
|
|
revision=1
|
|
configure_args="--python3"
|
|
pycompile_dirs="/usr/share/backintime"
|
|
hostmakedepends="gettext python3"
|
|
depends="python3 rsync python3-dbus python3-keyring python3-packaging"
|
|
short_desc="Simple backup tool for Linux"
|
|
maintainer="Alpicoid <alpicoid@tuta.io>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/bit-team/backintime"
|
|
distfiles="https://github.com/bit-team/backintime/releases/download/v${version}/backintime-${version}.tar.gz"
|
|
checksum=2adf4f2d3b2c95b43f1bc7184c034bc3fa2387b7b94099018770316d979b1534
|
|
python_version=3
|
|
|
|
do_configure() {
|
|
cd $wrksrc/common
|
|
./configure $configure_args
|
|
cd $wrksrc/qt
|
|
./configure $configure_args
|
|
}
|
|
|
|
do_build() {
|
|
cd $wrksrc/common
|
|
make ${makejobs}
|
|
cd $wrksrc/qt
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
cd $wrksrc/common
|
|
make install DESTDIR=$DESTDIR
|
|
cd $wrksrc/qt
|
|
make install DESTDIR=$DESTDIR
|
|
}
|
|
|
|
backintime-qt_package() {
|
|
short_desc+=" - Qt GUI"
|
|
depends="backintime-${version}_${revision}
|
|
python3-pyqt6 python3-pyqt6-dbus python3-packaging xdpyinfo
|
|
python3-pyqt6-gui python3-pyqt6-widgets"
|
|
pkg_install() {
|
|
vmove "usr/bin/backintime-qt*"
|
|
vmove usr/share/applications
|
|
vmove usr/share/backintime/qt
|
|
vmove usr/share/bash-completion/completions/backintime-qt
|
|
vmove usr/share/dbus-1
|
|
vmove usr/share/doc/backintime-qt
|
|
vmove usr/share/icons
|
|
vmove "usr/share/man/man1/backintime-qt*"
|
|
vmove usr/share/polkit-1
|
|
}
|
|
}
|