summaryrefslogtreecommitdiff
path: root/extra/mpd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /extra/mpd
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'extra/mpd')
-rw-r--r--extra/mpd/PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD
index 51e32b721..e6cff15aa 100644
--- a/extra/mpd/PKGBUILD
+++ b/extra/mpd/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 198643 2013-10-31 16:50:38Z bisson $
+# $Id: PKGBUILD 202687 2013-12-24 18:48:56Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
@@ -6,35 +6,31 @@
# Contributor: Ben <ben@benmazer.net>
pkgname=mpd
-pkgver=0.18
+pkgver=0.18.6
pkgrel=1
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')
+ 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl' 'libmpdclient')
makedepends=('doxygen')
-source=("http://www.musicpd.org/download/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
'tmpfiles.d'
'conf')
-sha1sums=('e3cc99de0c2c595ca576cdb455c6aaedd4f7726a'
+sha1sums=('06951d043a57ce460b728402768a235d8b18ba93' 'SKIP'
'f4d5922abb69abb739542d8e93f4dfd748acdad7'
'67c145c046cddd885630d72ce8ebe71f8321ff3b')
backup=('etc/mpd.conf')
install=install
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
-}
-
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --enable-libmpdclient \
--enable-jack \
--enable-soundcloud \
--enable-pipe-output \
@@ -50,6 +46,7 @@ package() {
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 -d "${pkgdir}"/usr/lib/systemd/user
- ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service
+
+ install -Dm644 "${pkgdir}"/usr/lib/systemd/{system,user}/mpd.service
+ sed '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/user/mpd.service
}