File PKGBUILD of Package safeeyes

pkgname=safeeyes
pkgver=2.2.3
pkgrel=1
pkgdesc="A Free and Open Source tool for Linux users to reduce and prevent repetitive strain injury (RSI)."
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")
makedepends=("python-setuptools" "python-pip")
optdepends=("xprintidle: for Smart Pause plugin"
            "python-croniter: for Health Stats plugin"
            "wlrctl: for Do Not Disturb plugin in Wayland")
source=("https://github.com/slgobinath/SafeEyes/archive/v$pkgver.tar.gz")
sha1sums=('e9309617bfc779da49ce9c166044cf80d2a1c164')

package() {
    cd "$srcdir/SafeEyes-$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1
}
openSUSE Build Service is sponsored by