summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 19 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e77c2f121fd..f936b3ce431 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
pkgbase = safeeyes
pkgdesc = A Linux alternative for EyeLeo
pkgver = 1.2.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/slgobinath/SafeEyes
arch = any
license = GPL3
+ depends = python
depends = hicolor-icon-theme
depends = libappindicator-gtk3
- depends = mpg123
- depends = python2-babel
- depends = python2-dbus
- depends = python2-gobject
- depends = python2-xlib
+ depends = python-xlib
+ depends = python-pyaudio
+ depends = python-psutil
+ depends = python-babel
+ depends = python-dbus
depends = xorg-xprop
depends = xprintidle
- source = safeeyes-1.2.1.tar.gz::https://github.com/slgobinath/SafeEyes/archive/v1.2.1/safeeyes.tar.gz
+ source = safeeyes-1.2.1.tar.gz::https://github.com/slgobinath/SafeEyes/archive/v1.2.1.tar.gz
sha1sums = 79c641e3dea3376afd2ad0675a77b76bb8aa1c13
pkgname = safeeyes
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
}