Add sys_cap_ptrace

This commit is contained in:
Drew DeVault 2016-12-04 09:08:22 -05:00
parent a06f880ac1
commit d7da6f50df
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com> # Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway-git pkgname=sway-git
_pkgname=sway _pkgname=sway
pkgver=r1461.54c635c pkgver=r2030.35b8d18
pkgrel=1 pkgrel=1
license=('MIT') license=('MIT')
pkgdesc='i3 compatible window manager for Wayland' pkgdesc='i3 compatible window manager for Wayland'
@ -25,6 +25,7 @@ source=("${pkgname%-*}::git+https://github.com/SirCmpwn/sway.git")
sha1sums=('SKIP') sha1sums=('SKIP')
provides=('sway') provides=('sway')
conflicts=('sway') conflicts=('sway')
install=sway-git.install
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" cd "${srcdir}/${_pkgname}"

3
sway-git.install Normal file
View File

@ -0,0 +1,3 @@
post_install() {
setcap cap_sys_ptrace=eip /usr/bin/sway
}