diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-11-11 14:57:15 -0500 |
---|---|---|
committer | Daniel Sabogal <dsabogal@ufl.edu> | 2016-11-12 18:37:02 -0500 |
commit | c3dc460ebfbd64041ecade8339ec07fed165daa2 (patch) | |
tree | 161671bcbc6e4f37900c1d26f62e04485055120f /testing/sway | |
parent | 0e25b716af34519a14b7f1b91b52aab6ae912aec (diff) | |
download | aports-c3dc460ebfbd64041ecade8339ec07fed165daa2.tar.bz2 aports-c3dc460ebfbd64041ecade8339ec07fed165daa2.tar.xz |
testing/sway: set suid
Diffstat (limited to 'testing/sway')
-rw-r--r-- | testing/sway/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/sway/APKBUILD b/testing/sway/APKBUILD index ae4e8f7a9a..3d5db75fcb 100644 --- a/testing/sway/APKBUILD +++ b/testing/sway/APKBUILD @@ -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 |