diff options
author | Alejandro López-Valencia | 2018-01-28 11:14:34 -0500 |
---|---|---|
committer | Alejandro López-Valencia | 2018-01-28 11:14:34 -0500 |
commit | 89146e6eef8d008a647295f88e91238311fbd707 (patch) | |
tree | 7a6807f34b55ff1fbc18ce52ccb3254fff0bbb46 | |
parent | 1b1cf3485debac6a3defba079d533f44bc226d67 (diff) | |
download | aur-89146e6eef8d008a647295f88e91238311fbd707.tar.gz |
Upstream fixed the installation of the systemd user service. Drop hack.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 2 insertions, 10 deletions
@@ -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 @@ -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: |