Date: Monday, August 27, 2012 @ 08:03:29 Author: bisson Revision: 165616
archrelease: copy trunk to extra-i686, extra-x86_64 Added: mpd/repos/extra-i686/PKGBUILD (from rev 165615, mpd/trunk/PKGBUILD) mpd/repos/extra-i686/install (from rev 165615, mpd/trunk/install) mpd/repos/extra-i686/rc.d (from rev 165615, mpd/trunk/rc.d) mpd/repos/extra-i686/tmpfiles.d (from rev 165615, mpd/trunk/tmpfiles.d) mpd/repos/extra-x86_64/PKGBUILD (from rev 165615, mpd/trunk/PKGBUILD) mpd/repos/extra-x86_64/install (from rev 165615, mpd/trunk/install) mpd/repos/extra-x86_64/rc.d (from rev 165615, mpd/trunk/rc.d) mpd/repos/extra-x86_64/tmpfiles.d (from rev 165615, mpd/trunk/tmpfiles.d) Deleted: mpd/repos/extra-i686/PKGBUILD mpd/repos/extra-i686/install mpd/repos/extra-i686/rc.d mpd/repos/extra-i686/tmpfiles.d mpd/repos/extra-x86_64/PKGBUILD mpd/repos/extra-x86_64/install mpd/repos/extra-x86_64/rc.d mpd/repos/extra-x86_64/tmpfiles.d -------------------------+ extra-i686/PKGBUILD | 123 ++++++++++++++++++++++------------------------ extra-i686/install | 22 ++++---- extra-i686/rc.d | 50 +++++++++--------- extra-i686/tmpfiles.d | 2 extra-x86_64/PKGBUILD | 123 ++++++++++++++++++++++------------------------ extra-x86_64/install | 22 ++++---- extra-x86_64/rc.d | 50 +++++++++--------- extra-x86_64/tmpfiles.d | 2 8 files changed, 196 insertions(+), 198 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-i686/PKGBUILD 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Damir Perisa <damir.per...@bluewin.ch> -# Contributor: Ben <b...@benmazer.net> - -pkgname=mpd -pkgver=0.17.1 -pkgrel=1 -pkgdesc='Flexible, powerful, server-side application for playing music' -url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki' -license=('GPL') -arch=('i686' 'x86_64') -depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' - 'sqlite' 'jack' 'libmms' 'wavpack' 'libmpcdec' 'avahi' 'libid3tag' - 'libpulse') -makedepends=('doxygen') -source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2" - 'tmpfiles.d' - 'rc.d') -sha1sums=('11da36217d57d08010f309977a4a77cce6240f77' - 'f4d5922abb69abb739542d8e93f4dfd748acdad7' - '3470d489565f0ed479f1665dd2876f66acb5a585') - -backup=('etc/mpd.conf') -install=install - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-lastfm \ - --enable-jack \ - --enable-pulse \ - --disable-cue \ - --disable-sidplay \ - --with-systemdsystemunitdir=/usr/lib/systemd/system - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install - - sed \ - -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ - -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ - -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ - -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ - -e '/^#user/c user "mpd"' \ - -i doc/mpdconf.example - - install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/mpd - install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists - install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf - install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf -} Copied: mpd/repos/extra-i686/PKGBUILD (from rev 165615, mpd/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Damir Perisa <damir.per...@bluewin.ch> +# Contributor: Ben <b...@benmazer.net> + +pkgname=mpd +pkgver=0.17.1 +pkgrel=2 +pkgdesc='Flexible, powerful, server-side application for playing music' +url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki' +license=('GPL') +arch=('i686' 'x86_64') +depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' + 'sqlite' 'jack' 'libmms' 'wavpack' 'libmpcdec' 'avahi' 'libid3tag' + 'libpulse') +makedepends=('doxygen') +source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2" + 'tmpfiles.d' + 'rc.d') +sha1sums=('11da36217d57d08010f309977a4a77cce6240f77' + 'f4d5922abb69abb739542d8e93f4dfd748acdad7' + '3470d489565f0ed479f1665dd2876f66acb5a585') + +backup=('etc/mpd.conf') +install=install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-lastfm \ + --enable-jack \ + --enable-pulse \ + --disable-sidplay \ + --with-systemdsystemunitdir=/usr/lib/systemd/system + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + sed \ + -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ + -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ + -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ + -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ + -e '/^#user/c user "mpd"' \ + -i doc/mpdconf.example + + install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/mpd + install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists + install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf + install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf +} Deleted: extra-i686/install =================================================================== --- extra-i686/install 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-i686/install 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,11 +0,0 @@ -post_install() { - getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null - getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null - true -} - -post_remove() { - getent passwd mpd &>/dev/null && userdel mpd >/dev/null - getent group mpd &>/dev/null && groupdel mpd >/dev/null - true -} Copied: mpd/repos/extra-i686/install (from rev 165615, mpd/trunk/install) =================================================================== --- extra-i686/install (rev 0) +++ extra-i686/install 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,11 @@ +post_install() { + getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null + getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null + usr/bin/systemd-tmpfiles --create mpd.conf || true +} + +post_remove() { + getent passwd mpd &>/dev/null && userdel mpd >/dev/null + getent group mpd &>/dev/null && groupdel mpd >/dev/null + true +} Deleted: extra-i686/rc.d =================================================================== --- extra-i686/rc.d 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-i686/rc.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,25 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy 'Starting Music Player Daemon' - /usr/bin/mpd /etc/mpd.conf &> /dev/null && - { add_daemon mpd; stat_done; } || stat_fail - ;; - stop) - stat_busy 'Stopping Music Player Daemon' - /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null && - { rm_daemon mpd; stat_done; } || stat_fail - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 Copied: mpd/repos/extra-i686/rc.d (from rev 165615, mpd/trunk/rc.d) =================================================================== --- extra-i686/rc.d (rev 0) +++ extra-i686/rc.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,25 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy 'Starting Music Player Daemon' + /usr/bin/mpd /etc/mpd.conf &> /dev/null && + { add_daemon mpd; stat_done; } || stat_fail + ;; + stop) + stat_busy 'Stopping Music Player Daemon' + /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null && + { rm_daemon mpd; stat_done; } || stat_fail + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 Deleted: extra-i686/tmpfiles.d =================================================================== --- extra-i686/tmpfiles.d 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-i686/tmpfiles.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -1 +0,0 @@ -d /run/mpd 0755 mpd mpd Copied: mpd/repos/extra-i686/tmpfiles.d (from rev 165615, mpd/trunk/tmpfiles.d) =================================================================== --- extra-i686/tmpfiles.d (rev 0) +++ extra-i686/tmpfiles.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1 @@ +d /run/mpd 0755 mpd mpd Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-x86_64/PKGBUILD 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Damir Perisa <damir.per...@bluewin.ch> -# Contributor: Ben <b...@benmazer.net> - -pkgname=mpd -pkgver=0.17.1 -pkgrel=1 -pkgdesc='Flexible, powerful, server-side application for playing music' -url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki' -license=('GPL') -arch=('i686' 'x86_64') -depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' - 'sqlite' 'jack' 'libmms' 'wavpack' 'libmpcdec' 'avahi' 'libid3tag' - 'libpulse') -makedepends=('doxygen') -source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2" - 'tmpfiles.d' - 'rc.d') -sha1sums=('11da36217d57d08010f309977a4a77cce6240f77' - 'f4d5922abb69abb739542d8e93f4dfd748acdad7' - '3470d489565f0ed479f1665dd2876f66acb5a585') - -backup=('etc/mpd.conf') -install=install - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-lastfm \ - --enable-jack \ - --enable-pulse \ - --disable-cue \ - --disable-sidplay \ - --with-systemdsystemunitdir=/usr/lib/systemd/system - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install - - sed \ - -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ - -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ - -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ - -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ - -e '/^#user/c user "mpd"' \ - -i doc/mpdconf.example - - install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/mpd - install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists - install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf - install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf -} Copied: mpd/repos/extra-x86_64/PKGBUILD (from rev 165615, mpd/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Damir Perisa <damir.per...@bluewin.ch> +# Contributor: Ben <b...@benmazer.net> + +pkgname=mpd +pkgver=0.17.1 +pkgrel=2 +pkgdesc='Flexible, powerful, server-side application for playing music' +url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki' +license=('GPL') +arch=('i686' 'x86_64') +depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2' + 'sqlite' 'jack' 'libmms' 'wavpack' 'libmpcdec' 'avahi' 'libid3tag' + 'libpulse') +makedepends=('doxygen') +source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.bz2" + 'tmpfiles.d' + 'rc.d') +sha1sums=('11da36217d57d08010f309977a4a77cce6240f77' + 'f4d5922abb69abb739542d8e93f4dfd748acdad7' + '3470d489565f0ed479f1665dd2876f66acb5a585') + +backup=('etc/mpd.conf') +install=install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-lastfm \ + --enable-jack \ + --enable-pulse \ + --disable-sidplay \ + --with-systemdsystemunitdir=/usr/lib/systemd/system + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + sed \ + -e '/^#playlist_directory/c playlist_directory "/var/lib/mpd/playlists"' \ + -e '/^#db_file/c db_file "/var/lib/mpd/mpd.db"' \ + -e '/^#pid_file/c pid_file "/run/mpd/mpd.pid"' \ + -e '/^#state_file/c state_file "/var/lib/mpd/mpdstate"' \ + -e '/^#user/c user "mpd"' \ + -i doc/mpdconf.example + + install -Dm755 ../rc.d "${pkgdir}"/etc/rc.d/mpd + install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists + install -Dm644 doc/mpdconf.example "${pkgdir}"/etc/mpd.conf + install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf +} Deleted: extra-x86_64/install =================================================================== --- extra-x86_64/install 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-x86_64/install 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,11 +0,0 @@ -post_install() { - getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null - getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null - true -} - -post_remove() { - getent passwd mpd &>/dev/null && userdel mpd >/dev/null - getent group mpd &>/dev/null && groupdel mpd >/dev/null - true -} Copied: mpd/repos/extra-x86_64/install (from rev 165615, mpd/trunk/install) =================================================================== --- extra-x86_64/install (rev 0) +++ extra-x86_64/install 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,11 @@ +post_install() { + getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null + getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null + usr/bin/systemd-tmpfiles --create mpd.conf || true +} + +post_remove() { + getent passwd mpd &>/dev/null && userdel mpd >/dev/null + getent group mpd &>/dev/null && groupdel mpd >/dev/null + true +} Deleted: extra-x86_64/rc.d =================================================================== --- extra-x86_64/rc.d 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-x86_64/rc.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -1,25 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -case "$1" in - start) - stat_busy 'Starting Music Player Daemon' - /usr/bin/mpd /etc/mpd.conf &> /dev/null && - { add_daemon mpd; stat_done; } || stat_fail - ;; - stop) - stat_busy 'Stopping Music Player Daemon' - /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null && - { rm_daemon mpd; stat_done; } || stat_fail - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 Copied: mpd/repos/extra-x86_64/rc.d (from rev 165615, mpd/trunk/rc.d) =================================================================== --- extra-x86_64/rc.d (rev 0) +++ extra-x86_64/rc.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1,25 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +case "$1" in + start) + stat_busy 'Starting Music Player Daemon' + /usr/bin/mpd /etc/mpd.conf &> /dev/null && + { add_daemon mpd; stat_done; } || stat_fail + ;; + stop) + stat_busy 'Stopping Music Player Daemon' + /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null && + { rm_daemon mpd; stat_done; } || stat_fail + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 Deleted: extra-x86_64/tmpfiles.d =================================================================== --- extra-x86_64/tmpfiles.d 2012-08-27 12:02:30 UTC (rev 165615) +++ extra-x86_64/tmpfiles.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -1 +0,0 @@ -d /run/mpd 0755 mpd mpd Copied: mpd/repos/extra-x86_64/tmpfiles.d (from rev 165615, mpd/trunk/tmpfiles.d) =================================================================== --- extra-x86_64/tmpfiles.d (rev 0) +++ extra-x86_64/tmpfiles.d 2012-08-27 12:03:29 UTC (rev 165616) @@ -0,0 +1 @@ +d /run/mpd 0755 mpd mpd