diff options
author | Doug Newgard | 2013-09-04 03:53:48 -0500 |
---|---|---|
committer | Doug Newgard | 2013-09-04 03:53:48 -0500 |
commit | 2772edbc244c90ed470446a33bdc97fb5105ae66 (patch) | |
tree | 49405a80c1478b76fa613c0a23db5867c0bdc845 /PKGBUILD | |
parent | 884717425de2ddc96dd4b17ae18a36b4dada36d2 (diff) | |
download | aur-2772edbc244c90ed470446a33bdc97fb5105ae66.tar.gz |
Modify entrance.conf for use with Arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -31,7 +31,15 @@ pkgver() { echo $_ver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } -build () { +prepare() { + sed -e '/"session_path"/ s|/bin:/usr/bin:/usr/local/bin|/usr/local/sbin:/usr/local/bin:/usr/bin|' \ + -e '/"shutdown"/ s|/sbin/shutdown -h now|/usr/bin/systemctl poweroff|' \ + -e '/"reboot"/ s|/sbin/shutdown -r now|/usr/bin/systemctl reboot|' \ + -e '/"suspend"/ s|/usr/sbin/pm-suspend|/usr/bin/systemctl suspend|' \ + -i "$srcdir/$_pkgname/data/entrance.conf" +} + +build() { cd "$srcdir/$_pkgname" export CFLAGS="$CFLAGS -fvisibility=hidden" |