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

Andrea Scarpino andrea at archlinux.org
Sun Jul 4 19:31:46 EDT 2010


    Date: Sunday, July 4, 2010 @ 19:31:46
  Author: andrea
Revision: 84860

upgpkg: mpd 0.15.10-3
installs the example file under /usr/share/mpd (FS#18780)

Modified:
  mpd/trunk/PKGBUILD
  mpd/trunk/mpd.install

-------------+
 PKGBUILD    |    4 ++--
 mpd.install |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-04 23:16:19 UTC (rev 84859)
+++ PKGBUILD	2010-07-04 23:31:46 UTC (rev 84860)
@@ -5,7 +5,7 @@
 
 pkgname=mpd
 pkgver=0.15.10
-pkgrel=2
+pkgrel=3
 pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -44,7 +44,7 @@
   sed -i 's|#state_file.*$|state_file "/var/lib/mpd/mpdstate"|1' doc/mpdconf.example
   sed -i 's|#user.*$|user "mpd"|1' doc/mpdconf.example
 
-  install -Dm644 doc/mpdconf.example ${pkgdir}/etc/mpd.conf.example
+  install -Dm644 doc/mpdconf.example ${pkgdir}/usr/share/mpd/mpd.conf.example
 
   install -Dm755 ${srcdir}/mpd ${pkgdir}/etc/rc.d/mpd
   install -d ${pkgdir}/var/{lib/mpd/playlists,log/mpd}

Modified: mpd.install
===================================================================
--- mpd.install	2010-07-04 23:16:19 UTC (rev 84859)
+++ mpd.install	2010-07-04 23:31:46 UTC (rev 84860)
@@ -1,6 +1,6 @@
 post_install() {
   post_upgrade
-  echo "==> mpd: Create a config under /etc/mpd.conf before using MPD (Example: /etc/mpd.conf.example)"
+  echo "==> Create a configuration file (/etc/mpd.conf or ~/.mpdconf) before using MPD (example: /usr/share/mpd/mpd.conf.example)"
 }
 
 post_upgrade() {



More information about the arch-commits mailing list