blob: cfaca566303f7ed74b5169831ec2da46511756fa (
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
|
# Original Author: Yamakaky <yamakaky@yamaworld_fr>
# Edited by: Thomas <tpxp@live.fr> for the git version
pkgname=safeeyes-git
pkgver=2.2.2.r42.g47be152
pkgrel=1
pkgdesc="A Free and Open Source tool for Linux users to reduce and prevent repetitive strain injury (RSI). Latest version from the git repository"
arch=("any")
url="https://github.com/slgobinath/SafeEyes"
license=("GPL3")
depends=("alsa-utils"
"hicolor-icon-theme"
"libappindicator-gtk3"
"python"
"python-babel"
"python-dbus"
"python-gobject"
"python-psutil"
"python-xlib"
"xorg-xprop")
conflicts=("safeeyes")
makedepends=("python-setuptools" "git")
optdepends=("xprintidle: better idle timer"
"python-croniter: health stats plugin"
"swayidle: for smart pause")
source=("git+https://github.com/slgobinath/SafeEyes.git")
sha1sums=('SKIP')
pkgver() {
cd "$srcdir/SafeEyes"
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/SafeEyes"
PYTHONUSERBASE="/usr" python setup.py install --root="$pkgdir/" --optimize=1
}
|