Skip to content
Snippets Groups Projects
Commit 7c7d4d6e authored by nfg's avatar nfg
Browse files

Update PKGBUILD

parent c0aa7b63
No related branches found
No related tags found
No related merge requests found
Pipeline #1795 failed
......@@ -3,6 +3,8 @@
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Maintainer : YianIris <yianiris At disroot Dot org>
#
# Contributor : Paul Mathai <sonnysighed@e.email>
#----------------
# Obarun PkgSrc : https://git.obarun.org/pkg/obextra/brltty
#-----------------------------------------------------------
......@@ -11,7 +13,7 @@
pkgbase=brltty
pkgname=(brltty brltty-udev-generic)
pkgver=6.5
pkgrel=3
pkgrel=4
pkgdesc="Braille display driver for Linux/Unix"
url='https://brltty.app'
......@@ -50,7 +52,6 @@ makedepends=(
'ocaml-ctypes'
'ocaml-findlib'
'pcre2'
'polkit'
'python-setuptools'
'speech-dispatcher'
'strip-nondeterminism'
......@@ -71,7 +72,6 @@ depends=(
'liblouis'
'libspeechd'
'pcre2'
'polkit'
)
#--------------------
......@@ -94,6 +94,7 @@ _flags=(
--with-scripts-directory=/usr/lib/brltty
--with-tables-directory=/usr/share/brltty
--with-writable-directory=/run/brltty
--disable-polkit
--disable-stripping
--enable-gpm
)
......@@ -134,7 +135,6 @@ package_brltty() {
libgpm.so
libncursesw.so
pcre2
polkit
)
optdepends=(
'at-spi2-core: X11/GNOME Apps accessibility'
......@@ -169,11 +169,11 @@ package_brltty() {
make -j1 INSTALL_ROOT="$pkgdir" install
make -j1 INSTALL_ROOT="$pkgdir" install-udev
#make -j1 INSTALL_ROOT="$pkgdir" install-dracut
make -j1 INSTALL_ROOT="$pkgdir" install-polkit
#make -j1 INSTALL_ROOT="$pkgdir" install-polkit
install -vDm 644 Documents/$pkgbase.conf -t "$pkgdir/etc/"
# fix directory permission and ownership
install -vdm 750 -o root -g 102 "$pkgdir/usr/share/polkit-1/rules.d"
#install -vdm 750 -o root -g 102 "$pkgdir/usr/share/polkit-1/rules.d"
# move generic udev rule, as it applies too broadly
mv -v "$pkgdir/usr/lib/udev/rules.d/90-brltty-usb-generic.rules" ../
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment