summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b594e086618..d6b0de4dc63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,25 @@
# Maintainer: Yamakaky <yamakaky@yamaworld_fr>
pkgname=safeeyes
pkgver=1.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A Linux alternative for EyeLeo"
arch=("any")
url="https://github.com/slgobinath/SafeEyes"
license=("GPL3")
-depends=("hicolor-icon-theme"
+depends=("python"
+ "hicolor-icon-theme"
"libappindicator-gtk3"
- "mpg123"
- "python2-babel"
- "python2-dbus"
- "python2-gobject"
- "python2-xlib"
+ "python-xlib"
+ "python-pyaudio"
+ "python-psutil"
+ "python-babel"
+ "python-dbus"
"xorg-xprop"
"xprintidle")
-source=(safeeyes-$pkgver.tar.gz::"https://github.com/slgobinath/SafeEyes/archive/v$pkgver/safeeyes.tar.gz")
+source=(safeeyes-$pkgver.tar.gz::"https://github.com/slgobinath/SafeEyes/archive/v$pkgver.tar.gz")
sha1sums=('79c641e3dea3376afd2ad0675a77b76bb8aa1c13')
package() {
- mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib"
- cp -r usr "$pkgdir/"
- sed -i -re "s/^Exec=.*$/Exec=safeeyes/" \
- "$pkgdir/usr/share/applications/safeeyes.desktop"
- cp -r opt/safeeyes "$pkgdir/usr/lib/"
- ln -s /usr/lib/safeeyes/safeeyes "$pkgdir/usr/bin/"
+ cd "$srcdir/SafeEyes-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
}