summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro López-Valencia2018-01-28 11:14:34 -0500
committerAlejandro López-Valencia2018-01-28 11:14:34 -0500
commit89146e6eef8d008a647295f88e91238311fbd707 (patch)
tree7a6807f34b55ff1fbc18ce52ccb3254fff0bbb46
parent1b1cf3485debac6a3defba079d533f44bc226d67 (diff)
downloadaur-89146e6eef8d008a647295f88e91238311fbd707.tar.gz
Upstream fixed the installation of the systemd user service. Drop hack.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 2 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e323b2257832..09cd8f0bcec5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = emacs-git
pkgdesc = GNU Emacs. Development.
- pkgver = 27.0.50.131892
+ pkgver = 27.0.50.131923
pkgrel = 1
url = http://www.gnu.org/software/emacs/
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index df11b3f630e1..86f392787f44 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -72,7 +72,7 @@ if [[ BRANCH = "emacs-26" ]]; then
else
pkgname=emacs-git
fi
-pkgver=27.0.50.131892
+pkgver=27.0.50.131923
pkgrel=1
pkgdesc="GNU Emacs. Development."
arch=('x86_64') # Arch Linux only. Users of derivatives are on their own.
@@ -319,14 +319,6 @@ package() {
chmod 775 "$pkgdir"/var/games/emacs
chown -R root:games "$pkgdir"/var/games
- # The logic used to install systemd's user service is partially broken
- # under Arch Linux model, because it adds $DESTDIR as prefix to the
- # final Exec targets. The fix is to hack it with an axe.
- install -Dm644 etc/emacs.service \
- "$pkgdir"/usr/lib/systemd/user/emacs.service
- sed -i -e 's#\(ExecStart\=\)#\1\/usr\/bin\/#' \
- -e 's#\(ExecStop\=\)#\1\/usr\/bin\/#' \
- "$pkgdir"/usr/lib/systemd/user/emacs.service
}
# vim:set ft=sh ts=2 sw=2 et: