[arch-commits] Commit in mpd/trunk (PKGBUILD)

Gaëtan Bisson bisson at archlinux.org
Sat Dec 10 14:24:50 UTC 2016


    Date: Saturday, December 10, 2016 @ 14:24:49
  Author: bisson
Revision: 283000

remove user service file hack, see FS#52099

Modified:
  mpd/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-10 13:23:57 UTC (rev 282999)
+++ PKGBUILD	2016-12-10 14:24:49 UTC (rev 283000)
@@ -7,7 +7,7 @@
 
 pkgname=mpd
 pkgver=0.19.20
-pkgrel=1
+pkgrel=2
 pkgdesc='Flexible, powerful, server-side application for playing music'
 url='https://www.musicpd.org/'
 license=('GPL')
@@ -21,8 +21,7 @@
 source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
         'tmpfiles.d'
         'conf')
-sha1sums=('7f8ec89d9bfee6a85e03746c69c5bf7c7190cba7'
-          'SKIP'
+sha1sums=('7f8ec89d9bfee6a85e03746c69c5bf7c7190cba7' 'SKIP'
           'f4d5922abb69abb739542d8e93f4dfd748acdad7'
           '291fd5cda9f0845834a553017327c4586bd853f6')
 
@@ -59,7 +58,6 @@
 	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
 	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd{,/playlists}
 
-	install -Dm644 "${pkgdir}"/usr/lib/systemd/{system,user}/mpd.service
 	sed '/\[Service\]/a User=mpd' -i "${pkgdir}"/usr/lib/systemd/system/mpd.service
-	sed '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/{system,user}/mpd.service
+	sed '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/system/mpd.service
 }



More information about the arch-commits mailing list