Updated PKGBUILD stuff.
This commit is contained in:
parent
144d5828d2
commit
def9341ac1
@ -3,17 +3,19 @@
|
|||||||
|
|
||||||
_gitname='fenrir'
|
_gitname='fenrir'
|
||||||
pkgname="${_gitname}-git"
|
pkgname="${_gitname}-git"
|
||||||
pkgver=v0.1.2.gb72614a
|
pkgver=v0.2.5.g33af5b6
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
pkgdesc='A user space console screen reader written in python3'
|
pkgdesc='A user space console screen reader written in python3'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://github.com/chrys87/${_pkgname}'
|
url='https://github.com/chrys87/${_pkgname}'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('python' 'python-espeak' 'python-evdev')
|
depends=('python' 'python-daemonize' 'python-evdev')
|
||||||
optdepends=('brltty: For Braille support'
|
optdepends=('brltty: For Braille support'
|
||||||
'gstreamer: for soundicons via gstreamer'
|
'gstreamer: for soundicons via gstreamer'
|
||||||
'sox: The default sound driver'
|
'sox: The default sound driver'
|
||||||
'python-enchant: for spell check functionality')
|
'python-espeak: TTS support'
|
||||||
|
'python-pyenchant: for spell check functionality'
|
||||||
|
'speech-dispatcher: TTS support')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=('fenrir')
|
provides=('fenrir')
|
||||||
conflicts=('fenrir')
|
conflicts=('fenrir')
|
||||||
@ -21,7 +23,7 @@ install="$pkgname".install
|
|||||||
source=("git+https://github.com/chrys87/${_gitname}.git"
|
source=("git+https://github.com/chrys87/${_gitname}.git"
|
||||||
'fenrir-git.install')
|
'fenrir-git.install')
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'9d1e82fce2e02ae2a1216a18ca576bfb')
|
'1387fd3851040d03816e2fb6b8fa631f')
|
||||||
|
|
||||||
pkgver()
|
pkgver()
|
||||||
{
|
{
|
||||||
@ -33,17 +35,19 @@ pkgver()
|
|||||||
package()
|
package()
|
||||||
{
|
{
|
||||||
cd "$srcdir/$_gitname"
|
cd "$srcdir/$_gitname"
|
||||||
install -d "$pkgdir/usr/bin"
|
install -m755 -d "$pkgdir/opt/fenrir"
|
||||||
install -d "$pkgdir/etc/fenrir/keyboard"
|
install -m755 -d "$pkgdir/usr/share/fenrir/scripts"
|
||||||
install -d "$pkgdir/etc/fenrir/settings"
|
install -m755 -d "$pkgdir/usr/share/fenrir/tools"
|
||||||
install -d "$pkgdir/etc/fenrir/substitution"
|
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 -d "$pkgdir/usr/share/sounds/fenrir"
|
||||||
install -m644 -D "autostart/systemd/fenrir.service" "$pkgdir/usr/lib/systemd/system/fenrir.service"
|
install -m644 -D "autostart/systemd/fenrir.service" "$pkgdir/usr/lib/systemd/system/fenrir.service"
|
||||||
python setup.py install --root="${pkgdir}/" --optimize=1
|
cp -a src/fenrir/* "$pkgdir/opt/fenrir"
|
||||||
cp -a config/keyboard/* "$pkgdir/etc/fenrir/keyboard"
|
cp -a config/scripts/* "$pkgdir/usr/share/fenrir/scripts"
|
||||||
cp -a config/settings/* "$pkgdir/etc/fenrir/settings"
|
cp -a tools/* "$pkgdir/usr/share/fenrir/tools"
|
||||||
cp -a config/sound/* "$pkgdir/usr/share/sounds/fenrir"
|
cp -a config/sound/* "$pkgdir/usr/share/sounds/fenrir"
|
||||||
cp -a config/substitution/* "$pkgdir/etc/fenrir/substitution"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: set ts=2 sw=2 et:
|
# vim: set ts=2 sw=2 et:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
|
ln -s /opt/fenrir/fenrir-daemon /usr/bin/fenrir
|
||||||
_alert
|
_alert
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6,6 +7,9 @@ _alert() {
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
To have fenrir start at boot:
|
To have fenrir start at boot:
|
||||||
sudo systemctl enable fenrir
|
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
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user