testing/sway: set suid

This commit is contained in:
Daniel Sabogal 2016-11-11 14:57:15 -05:00 committed by Daniel Sabogal
parent 0e25b716af
commit c3dc460ebf

View File

@ -2,11 +2,12 @@
# Maintainer:
pkgname=sway
pkgver=0.10
pkgrel=0
pkgrel=1
pkgdesc="i3 compatible window manager for Wayland"
url="http://swaywm.org"
arch="all"
license="MIT"
options="suid"
depends="libxcursor"
makedepends="asciidoc cmake gdk-pixbuf json-c-dev libinput-dev libxkbcommon-dev
pango-dev wayland-dev wlc-dev"
@ -29,6 +30,8 @@ package() {
cd "$builddir"
make DESTDIR="$pkgdir/" install || return 1
chmod u+s "$pkgdir"/usr/bin/sway || return 1
install -d "$pkgdir"/usr/share/man/man1
install -d "$pkgdir"/usr/share/man/man5
install -m644 bin/*.1 "$pkgdir"/usr/share/man/man1/ || return 1