Added partially complete PKGBUILD for Arch LInux like systems in the contrib directory.
This commit is contained in:
parent
988672d2d9
commit
348e4462d0
41
contrib/fenrir-git/PKGBUILD
Normal file
41
contrib/fenrir-git/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
|
||||
# Maintainer: Chrys <mail@chrys.de>
|
||||
|
||||
_gitname='fenrir'
|
||||
pkgname="${_gitname}-git"
|
||||
pkgver=v0.71.117.g4d87b22
|
||||
pkgrel=1
|
||||
pkgdesc='A user space console screen reader written in python3'
|
||||
arch=('armv7' 'i686' 'x86_64')
|
||||
url='https://github.com/chrys87/${_pkgname}'
|
||||
license=('MIT')
|
||||
depends=('python' 'python-espeak' 'python-evdev')
|
||||
optdepends=('brltty: For Braille support'
|
||||
'gstreamer: for soundicons via gstreamer'
|
||||
'sox: The default sound driver'
|
||||
'python-enchant: for spell check functionality')
|
||||
makedepends=('git')
|
||||
provides=('fenrir')
|
||||
conflicts=('fenrir')
|
||||
install="$pkgname".install
|
||||
source=("git+https://github.com/chrys87/${_gitname}.git"
|
||||
'fenrir.service'
|
||||
'fenrir.sh'
|
||||
'fenrir-git.install')
|
||||
|
||||
pkgver()
|
||||
{
|
||||
cd "$srcdir/$_gitname"
|
||||
local ver="$(git describe --tags)"
|
||||
echo "${ver//-/.}"
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd "$srcdir/$_gitname"
|
||||
install -d "$pkgdir/usr/bin"
|
||||
install -d "$pkgdir/etc/fenrir"
|
||||
|
||||
}
|
||||
|
||||
# vim: set ts=2 sw=2 et:
|
11
contrib/fenrir-git/fenrir-git.install
Normal file
11
contrib/fenrir-git/fenrir-git.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
_alert
|
||||
}
|
||||
|
||||
_alert() {
|
||||
cat << EOF
|
||||
To have fenrir start at boot:
|
||||
sudo systemctl enable fenrir
|
||||
EOF
|
||||
}
|
||||
|
13
contrib/fenrir-git/fenrir.service
Normal file
13
contrib/fenrir-git/fenrir.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Fenrir screenreader
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/fenrir.pid
|
||||
ExecStart=/usr/bin/fenrir
|
||||
Restart=on-abort
|
||||
#Group=fenrir
|
||||
#User=fenrir
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
4
contrib/fenrir-git/fenrir.sh
Normal file
4
contrib/fenrir-git/fenrir.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd fenrir/
|
||||
python3 fenrir.py
|
||||
|
Loading…
Reference in New Issue
Block a user