diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54578b9ac531 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = safeeyes + pkgdesc = A Linux alternative for EyeLeo + pkgver = 1.0.6 + pkgrel = 1 + url = https://github.com/slgobinath/SafeEyes + arch = any + license = GPL3 + depends = python2-xlib + depends = hicolor-icon-theme + depends = xorg-xprop + depends = libappindicator-gtk3 + source = https://github.com/slgobinath/SafeEyes/releases/download/v1.0.6/safeeyes.tar.gz + sha1sums = 993c429afc9982b6acbd5a2d7e790488154e3fb7 + +pkgname = safeeyes + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7194c87ee737 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/src/ +/pkg/ +/safeeyes* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e8d929ea67b4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Yamakaky <yamakaky@yamaworld_fr> +pkgname=safeeyes +pkgver=1.0.6 +pkgrel=1 +pkgdesc="A Linux alternative for EyeLeo" +arch=("any") +url="https://github.com/slgobinath/SafeEyes" +license=("GPL3") +depends=("python2-xlib" + "hicolor-icon-theme" + "xorg-xprop" + "libappindicator-gtk3") +source=("https://github.com/slgobinath/SafeEyes/releases/download/v$pkgver/safeeyes.tar.gz") +sha1sums=('993c429afc9982b6acbd5a2d7e790488154e3fb7') + +package() { + mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib" + cp -r usr "$pkgdir/" + sed -ire "s/^Exec=.*$/Exec=safeeyes/" \ + "$pkgdir/usr/share/applications/safeeyes.desktop" + cp -r opt/safeeyes/safeeyes "$pkgdir/usr/lib/" + ln -s /usr/lib/safeeyes/safeeyes "$pkgdir/usr/bin/" +} |