summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-05-21 02:57:42 -0500
committerDoug Newgard2014-05-21 02:57:42 -0500
commitd7b1bd978bfd45de12a7130270619017a6ab4d13 (patch)
treeb19f939dec23ee81dc7e0ca0a347edf965d7edbd
parent1e1884b1cbfb4b112677c977440e28c6b6fd9a5d (diff)
downloadaur-d7b1bd978bfd45de12a7130270619017a6ab4d13.tar.gz
Simpler, more robust adjustment of conf file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 069c84be1bc..a87a86ce411 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = entrance-git
pkgdesc = Enlightenment Display Manager
- pkgver = 0.0.99.r193.55b34fa
+ pkgver = 0.0.99.r230.f54f218
pkgrel = 1
url = http://www.enlightenment.org/
arch = i686
@@ -11,7 +11,7 @@ pkgbase = entrance-git
depends = xorg-xauth
depends = sudo
optdepends = ekbd-git: For virtual keyboard
- provides = entrance=0.0.99.r193.55b34fa
+ provides = entrance=0.0.99.r230.f54f218
conflicts = entrance
backup = etc/entrance/entrance.conf
source = git://git.enlightenment.org/misc/entrance.git
diff --git a/PKGBUILD b/PKGBUILD
index 6c75d9bca1d..d16da595f40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=entrance
pkgname=$_pkgname-git
-pkgver=0.0.99.r193.55b34fa
+pkgver=0.0.99.r230.f54f218
pkgrel=1
pkgdesc="Enlightenment Display Manager"
url="http://www.enlightenment.org/"
@@ -29,10 +29,10 @@ pkgver() {
}
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|' \
+ sed -e '/"session_path"/ s|:.*|: "/usr/local/sbin:/usr/local/bin:/usr/bin";|' \
+ -e '/"shutdown"/ s|:.*|: "/usr/bin/systemctl poweroff";|' \
+ -e '/"reboot"/ s|:.*|: "/usr/bin/systemctl reboot";|' \
+ -e '/"suspend"/ s|:.*|: "/usr/bin/systemctl suspend";|' \
-i "$srcdir/$_pkgname/data/entrance.conf.in"
}