[arch-commits] Commit in mpd/repos/extra-x86_64 (8 files)
Gaëtan Bisson
bisson at archlinux.org
Mon Dec 18 01:48:33 UTC 2017
Date: Monday, December 18, 2017 @ 01:48:32
Author: bisson
Revision: 313281
archrelease: copy trunk to extra-x86_64
Added:
mpd/repos/extra-x86_64/PKGBUILD
(from rev 313280, mpd/trunk/PKGBUILD)
mpd/repos/extra-x86_64/conf
(from rev 313280, mpd/trunk/conf)
mpd/repos/extra-x86_64/sysusers.d
(from rev 313280, mpd/trunk/sysusers.d)
mpd/repos/extra-x86_64/tmpfiles.d
(from rev 313280, mpd/trunk/tmpfiles.d)
Deleted:
mpd/repos/extra-x86_64/PKGBUILD
mpd/repos/extra-x86_64/conf
mpd/repos/extra-x86_64/install
mpd/repos/extra-x86_64/tmpfiles.d
------------+
PKGBUILD | 125 +++++++++++++++++++++++++++++------------------------------
conf | 12 ++---
install | 5 --
sysusers.d | 2
tmpfiles.d | 4 +
5 files changed, 74 insertions(+), 74 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-18 01:47:45 UTC (rev 313280)
+++ PKGBUILD 2017-12-18 01:48:32 UTC (rev 313281)
@@ -1,62 +0,0 @@
-# $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.20.12
-pkgrel=1
-pkgdesc='Flexible, powerful, server-side application for playing music'
-url='https://www.musicpd.org/'
-license=('GPL')
-arch=('x86_64')
-depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
- 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient'
- 'icu' 'libupnp' 'libnfs' 'libsamplerate' 'libsoxr' 'smbclient' 'libcdio-paranoia'
- 'libgme' 'zziplib')
-makedepends=('boost' 'doxygen')
-validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
-#source=("https://www.musicpd.org/download/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}
-source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
- 'tmpfiles.d'
- 'conf')
-sha256sums=('e159ac0608fb85c891bd19375ed7056d5f9ec4ba492b052f24820513e774f709'
- 'SKIP'
- 'c1683ba35774c85e16c70e89f7e2ed1c09619512b1a273daabbd5e34d40439bd'
- 'f40f68205834ca53cea3372e930bfe6c2f9ecc9df3b1605df2fec63a658b2e03')
-
-backup=('etc/mpd.conf')
-install=install
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --enable-cdio-paranoia \
- --enable-iso9660 \
- --enable-jack \
- --enable-libmpdclient \
- --enable-pipe-output \
- --enable-pulse \
- --enable-soundcloud \
- --enable-zzip \
- --disable-sidplay \
- --with-systemduserunitdir=/usr/lib/systemd/user \
- --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}
-
- 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/mpd.service
-}
Copied: mpd/repos/extra-x86_64/PKGBUILD (from rev 313280, mpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-18 01:48:32 UTC (rev 313281)
@@ -0,0 +1,63 @@
+# $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.20.12
+pkgrel=2
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='https://www.musicpd.org/'
+license=('GPL')
+arch=('x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
+ 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient'
+ 'icu' 'libupnp' 'libnfs' 'libsamplerate' 'libsoxr' 'smbclient' 'libcdio-paranoia'
+ 'libgme' 'zziplib')
+makedepends=('boost' 'doxygen')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
+#source=("https://www.musicpd.org/download/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+ 'tmpfiles.d'
+ 'sysusers.d'
+ 'conf')
+sha256sums=('e159ac0608fb85c891bd19375ed7056d5f9ec4ba492b052f24820513e774f709'
+ 'SKIP'
+ '2faa85c12449a5b3ca422ff1c1fa06d057c7e262a74bfa6298c914a92d6f2e7a'
+ '0b74c6e5db08daab3091dc15a6b0c75210ba2f9e98fa074f6cfd605a461056b6'
+ 'f40f68205834ca53cea3372e930bfe6c2f9ecc9df3b1605df2fec63a658b2e03')
+
+backup=('etc/mpd.conf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-cdio-paranoia \
+ --enable-iso9660 \
+ --enable-jack \
+ --enable-libmpdclient \
+ --enable-pipe-output \
+ --enable-pulse \
+ --enable-soundcloud \
+ --enable-zzip \
+ --disable-sidplay \
+ --with-systemduserunitdir=/usr/lib/systemd/user \
+ --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 -Dm644 ../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/mpd.conf
+
+ 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/mpd.service
+}
Deleted: conf
===================================================================
--- conf 2017-12-18 01:47:45 UTC (rev 313280)
+++ conf 2017-12-18 01:48:32 UTC (rev 313281)
@@ -1,6 +0,0 @@
-# See: /usr/share/doc/mpd/mpdconf.example
-
-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/extra-x86_64/conf (from rev 313280, mpd/trunk/conf)
===================================================================
--- conf (rev 0)
+++ conf 2017-12-18 01:48:32 UTC (rev 313281)
@@ -0,0 +1,6 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+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"
Deleted: install
===================================================================
--- install 2017-12-18 01:47:45 UTC (rev 313280)
+++ install 2017-12-18 01:48:32 UTC (rev 313281)
@@ -1,5 +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
- usr/bin/systemd-tmpfiles --create mpd.conf || true
-}
Copied: mpd/repos/extra-x86_64/sysusers.d (from rev 313280, mpd/trunk/sysusers.d)
===================================================================
--- sysusers.d (rev 0)
+++ sysusers.d 2017-12-18 01:48:32 UTC (rev 313281)
@@ -0,0 +1,2 @@
+u mpd 45 - /var/lib/mpd
+m mpd audio
Deleted: tmpfiles.d
===================================================================
--- tmpfiles.d 2017-12-18 01:47:45 UTC (rev 313280)
+++ tmpfiles.d 2017-12-18 01:48:32 UTC (rev 313281)
@@ -1 +0,0 @@
-d /run/mpd 0755 mpd mpd
Copied: mpd/repos/extra-x86_64/tmpfiles.d (from rev 313280, mpd/trunk/tmpfiles.d)
===================================================================
--- tmpfiles.d (rev 0)
+++ tmpfiles.d 2017-12-18 01:48:32 UTC (rev 313281)
@@ -0,0 +1,3 @@
+d /run/mpd 0755 mpd mpd
+d /var/lib/mpd 0755 mpd mpd
+d /var/lib/mpd/playlists 0755 mpd mpd
More information about the arch-commits
mailing list