[arch-commits] Commit in mpd/repos (10 files)

Gaetan Bisson bisson at archlinux.org
Mon Sep 15 17:33:36 UTC 2014


    Date: Monday, September 15, 2014 @ 19:33:36
  Author: bisson
Revision: 221767

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  mpd/repos/staging-i686/
  mpd/repos/staging-i686/PKGBUILD
    (from rev 221766, mpd/trunk/PKGBUILD)
  mpd/repos/staging-i686/conf
    (from rev 221766, mpd/trunk/conf)
  mpd/repos/staging-i686/install
    (from rev 221766, mpd/trunk/install)
  mpd/repos/staging-i686/tmpfiles.d
    (from rev 221766, mpd/trunk/tmpfiles.d)
  mpd/repos/staging-x86_64/
  mpd/repos/staging-x86_64/PKGBUILD
    (from rev 221766, mpd/trunk/PKGBUILD)
  mpd/repos/staging-x86_64/conf
    (from rev 221766, mpd/trunk/conf)
  mpd/repos/staging-x86_64/install
    (from rev 221766, mpd/trunk/install)
  mpd/repos/staging-x86_64/tmpfiles.d
    (from rev 221766, mpd/trunk/tmpfiles.d)

---------------------------+
 staging-i686/PKGBUILD     |   52 ++++++++++++++++++++++++++++++++++++++++++++
 staging-i686/conf         |    7 +++++
 staging-i686/install      |   11 +++++++++
 staging-i686/tmpfiles.d   |    1 
 staging-x86_64/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/conf       |    7 +++++
 staging-x86_64/install    |   11 +++++++++
 staging-x86_64/tmpfiles.d |    1 
 8 files changed, 142 insertions(+)

Copied: mpd/repos/staging-i686/PKGBUILD (from rev 221766, mpd/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=mpd
+pkgver=0.18.14
+pkgrel=2
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='http://www.musicpd.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
+         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient')
+makedepends=('doxygen')
+source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        'tmpfiles.d'
+        'conf')
+sha1sums=('5a4b5f5b0447994f3fc186ffd7c16cabeeed2978' 'SKIP'
+          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
+          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
+
+backup=('etc/mpd.conf')
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-libmpdclient \
+		--enable-jack \
+		--enable-soundcloud \
+		--enable-pipe-output \
+		--enable-pulse \
+		--disable-sidplay \
+		--with-systemdsystemunitdir=/usr/lib/systemd/system
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
+	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 '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/user/mpd.service
+}

Copied: mpd/repos/staging-i686/conf (from rev 221766, mpd/trunk/conf)
===================================================================
--- staging-i686/conf	                        (rev 0)
+++ staging-i686/conf	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1,7 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+user "mpd"
+pid_file "/run/mpd/mpd.pid"
+db_file "/var/lib/mpd/mpd.db"
+state_file "/var/lib/mpd/mpdstate"
+playlist_directory "/var/lib/mpd/playlists"

Copied: mpd/repos/staging-i686/install (from rev 221766, mpd/trunk/install)
===================================================================
--- staging-i686/install	                        (rev 0)
+++ staging-i686/install	2014-09-15 17:33:36 UTC (rev 221767)
@@ -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
+}

Copied: mpd/repos/staging-i686/tmpfiles.d (from rev 221766, mpd/trunk/tmpfiles.d)
===================================================================
--- staging-i686/tmpfiles.d	                        (rev 0)
+++ staging-i686/tmpfiles.d	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd

Copied: mpd/repos/staging-x86_64/PKGBUILD (from rev 221766, mpd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=mpd
+pkgver=0.18.14
+pkgrel=2
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='http://www.musicpd.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
+         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient')
+makedepends=('doxygen')
+source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        'tmpfiles.d'
+        'conf')
+sha1sums=('5a4b5f5b0447994f3fc186ffd7c16cabeeed2978' 'SKIP'
+          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
+          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
+
+backup=('etc/mpd.conf')
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-libmpdclient \
+		--enable-jack \
+		--enable-soundcloud \
+		--enable-pipe-output \
+		--enable-pulse \
+		--disable-sidplay \
+		--with-systemdsystemunitdir=/usr/lib/systemd/system
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
+	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 '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/user/mpd.service
+}

Copied: mpd/repos/staging-x86_64/conf (from rev 221766, mpd/trunk/conf)
===================================================================
--- staging-x86_64/conf	                        (rev 0)
+++ staging-x86_64/conf	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1,7 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+user "mpd"
+pid_file "/run/mpd/mpd.pid"
+db_file "/var/lib/mpd/mpd.db"
+state_file "/var/lib/mpd/mpdstate"
+playlist_directory "/var/lib/mpd/playlists"

Copied: mpd/repos/staging-x86_64/install (from rev 221766, mpd/trunk/install)
===================================================================
--- staging-x86_64/install	                        (rev 0)
+++ staging-x86_64/install	2014-09-15 17:33:36 UTC (rev 221767)
@@ -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
+}

Copied: mpd/repos/staging-x86_64/tmpfiles.d (from rev 221766, mpd/trunk/tmpfiles.d)
===================================================================
--- staging-x86_64/tmpfiles.d	                        (rev 0)
+++ staging-x86_64/tmpfiles.d	2014-09-15 17:33:36 UTC (rev 221767)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd




More information about the arch-commits mailing list