correct fileperms

This commit is contained in:
Tobias Brunner 2022-08-31 15:36:09 +02:00
parent 074c988abf
commit 579c76a294
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
pkgname=streamdeckd pkgname=streamdeckd
_pkgname=streamdeckd _pkgname=streamdeckd
pkgver=1.0.2 pkgver=1.0.2
pkgrel=1 pkgrel=2
pkgdesc="A Linux Driver for the Elgato Streamdeck" pkgdesc="A Linux Driver for the Elgato Streamdeck"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='https://github.com/unix-streamdeck/streamdeckd' url='https://github.com/unix-streamdeck/streamdeckd'
@ -57,8 +57,8 @@ package() {
find "$srcdir/$_pkgname-$pkgver" -type f -executable | while read filename; do find "$srcdir/$_pkgname-$pkgver" -type f -executable | while read filename; do
install -DT "$filename" "$pkgdir/usr/bin/$(basename $filename)" install -DT "$filename" "$pkgdir/usr/bin/$(basename $filename)"
done done
install -DT -m0755 "$srcdir/50-elgato.rules" "$pkgdir/etc/udev/rules.d/50-elgato.rules" install -DT -m0644 "$srcdir/50-elgato.rules" "$pkgdir/etc/udev/rules.d/50-elgato.rules"
install -DT -m0755 "$srcdir/streamdeckd.service" "$pkgdir/usr/lib/systemd/user/streamdeckd.service" install -DT -m0644 "$srcdir/streamdeckd.service" "$pkgdir/usr/lib/systemd/user/streamdeckd.service"
echo "To enable and start the service:" echo "To enable and start the service:"
echo -e "systemctl --user enable --now streamdeckd.service" echo -e "systemctl --user enable --now streamdeckd.service"
echo -e "A reboot might be required for streamdeckd to work correctly." echo -e "A reboot might be required for streamdeckd to work correctly."