diff options
author | Storm Dragon | 2017-01-05 09:13:02 -0500 |
---|---|---|
committer | Storm Dragon | 2017-01-05 09:13:02 -0500 |
commit | 1343af84a416f120524b6d5310ada87a470dff92 (patch) | |
tree | 93d93bf43158e0105b9ae75a5a85b05506d67fdd | |
download | aur-1343af84a416f120524b6d5310ada87a470dff92.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 45 | ||||
-rw-r--r-- | fenrir.install | 15 |
3 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..64f775e7f4f6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +# Generated by mksrcinfo v8 +# Thu Jan 5 14:12:50 UTC 2017 +pkgbase = fenrir + pkgdesc = A user space console screen reader written in python3 + pkgver = 1.00 + pkgrel = 1 + url = https://github.com/chrys87/fenrir + install = fenrir.install + arch = any + license = LGPL + makedepends = unzip + depends = python + depends = python-daemonize + depends = python-evdev + optdepends = brltty: For Braille support + optdepends = gstreamer: for soundicons via gstreamer + optdepends = sox: The default sound driver + optdepends = python-espeak: TTS support + optdepends = python-pyenchant: for spell check functionality + optdepends = speech-dispatcher: TTS support + provides = fenrir + conflicts = fenrir + source = https://github.com/chrys87/fenrir/archive/1.00.zip + source = fenrir.install + md5sums = db43ef04c609288655e7de4879fb7a83 + md5sums = 6e9e07056b744789e8d62fcf56b612ce + +pkgname = fenrir + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ac6dda74e55d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Storm Dragon <stormdragon2976@gmail.com> +# Maintainer: Chrys <mail@chrys.de> + +pkgname='fenrir' +pkgver=1.00 +pkgrel=1 +pkgdesc='A user space console screen reader written in python3' +arch=('any') +url="https://github.com/chrys87/fenrir" +license=('LGPL') +depends=('python' 'python-daemonize' 'python-evdev') +optdepends=('brltty: For Braille support' +'gstreamer: for soundicons via gstreamer' + 'sox: The default sound driver' + 'python-espeak: TTS support' + 'python-pyenchant: for spell check functionality' + 'speech-dispatcher: TTS support') +makedepends=('unzip') +provides=('fenrir') +conflicts=('fenrir') +install="$pkgname".install +source=("https://github.com/chrys87/${pkgname}/archive/${pkgver}.zip" + 'fenrir.install') +md5sums=('db43ef04c609288655e7de4879fb7a83' + '6e9e07056b744789e8d62fcf56b612ce') + +package() +{ + cd "$srcdir/${pkgname}-${pkgver}" + install -m755 -d "$pkgdir/opt/fenrir" + install -m755 -d "$pkgdir/usr/share/fenrir/scripts" + install -m755 -d "$pkgdir/usr/share/fenrir/tools" + install -m644 -D "config/keyboard/desktop.conf" "$pkgdir/etc/fenrir/keyboard/desktop.conf" + install -m644 -D "config/keyboard/laptop.conf" "$pkgdir/etc/fenrir/keyboard/laptop.conf" + install -m644 -D "config/punctuation/default.conf" "$pkgdir/etc/fenrir/punctuation/default.conf" + install -m644 -D "config/settings/settings.conf" "$pkgdir/etc/fenrir/settings/settings.conf" + install -d "$pkgdir/usr/share/sounds/fenrir" + install -m644 -D "autostart/systemd/fenrir.service" "$pkgdir/usr/lib/systemd/system/fenrir.service" + cp -a src/fenrir/* "$pkgdir/opt/fenrir" + cp -a config/scripts/* "$pkgdir/usr/share/fenrir/scripts" + cp -a tools/* "$pkgdir/usr/share/fenrir/tools" + cp -a config/sound/* "$pkgdir/usr/share/sounds/fenrir" +} + +# vim: set ts=2 sw=2 et: diff --git a/fenrir.install b/fenrir.install new file mode 100644 index 000000000000..f100434e0117 --- /dev/null +++ b/fenrir.install @@ -0,0 +1,15 @@ +post_install() { +ln -s /opt/fenrir/fenrir-daemon /usr/bin/fenrir-daemon +_alert +} + +_alert() { +cat << EOF +To have fenrir start at boot: +sudo systemctl enable fenrir +Pulseaudio users may want to run +/usr/share/fenrir/tools/configure-pulseaudio +once as their user account and once as root. +EOF +} + |