blob: dae2bebcdda127b7ca0fc6767797927919cd21ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: SanskritFritz (gmail)
_pkgname=timekpr
pkgname=$_pkgname-next-git
pkgver=r569.295f26a
pkgrel=1
pkgdesc="Control the computer usage of users. You can limit daily usage based on a timed access duration and configure periods of day when they can log in. Beta branch."
arch=('any')
url='https://launchpad.net/timekpr-next'
license=('GPL')
depends=('python-gobject' 'gtk3' 'polkit' 'python-dbus' 'python-gobject' 'libappindicator-gtk3' 'dbus' 'python-psutil')
optdepends=('lxqt-policykit: to start the Control Panel like in LXQT'
'mate-polkit: to start the Control Panel like in Mate'
'polkit-kde-agent: to start the Control Panel like in Plasma'
'polkit-gnome: to start the Control Panel like in Gnome (legacy)'
'xfce-polkit: to start the Control Panel like in XFCE')
makedepends=('git')
provides=('timekpr')
conflicts=('timekpr' 'timekpr-next-beta' 'timekpr-beta' 'timekpr-revived-bzr')
source=("$_pkgname::git+https://git.launchpad.net/timekpr-next#branch=beta")
install='timekpr-next-git.install'
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$_pkgname"
cat debian/install | while read a b; do
case "$a" in
*"#"*) ;;
"") ;;
*)
f=`basename "$a"`
b=$(echo "$b" | sed 's|^lib/|usr/lib/|')
if [ -d $a ]; then
install -d "$pkgdir/$b/$f"
else
install -D "$a" "$pkgdir/$b/$f"
fi
esac
done
install -m755 debian/postrm "$pkgdir"/usr/bin/timekpr.postrm
install -m755 debian/postinst "$pkgdir"/usr/bin/timekpr.postinst
}
|