summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mpd/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-04 21:21:39 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-04 21:21:39 (GMT)
commit3080fa3d82b743b7dacb87ccd18664747d755de4 (patch)
treec5b2d750abd0121db536cdba7d868d4cdd4b7e6f /abs/extra/community/mpd/PKGBUILD
parentb572616e6f2da9b9f9ea110d29577b178c057c7d (diff)
downloadlinhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.zip
linhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.tar.gz
linhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.tar.bz2
mpc/d:invalid location
Diffstat (limited to 'abs/extra/community/mpd/PKGBUILD')
-rw-r--r--abs/extra/community/mpd/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/abs/extra/community/mpd/PKGBUILD b/abs/extra/community/mpd/PKGBUILD
deleted file mode 100644
index 75a79ee..0000000
--- a/abs/extra/community/mpd/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 27462 2009-02-22 02:31:36Z eric $
-# Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
-# Contributor: Ben <ben@benmazer.net>
-
-pkgname=mpd
-pkgver=0.15.3
-pkgrel=1
-pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://musicpd.org"
-depends=('libid3tag' 'libmad' 'flac>=1.1.3' 'audiofile' 'faad2>=2.6' 'libmikmod'
- 'alsa-lib' 'libshout' 'libmpcdec>=1.2.5' 'libsamplerate' 'libao' 'ffmpeg'
- 'wavpack' 'glib2' 'curl')
-install=mpd.install
-source=(http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.gz
- 'mpd')
-md5sums=('43e854e7f46ac87bb1f1a7247ae4b902'
- 'b1fd15de359db08e4b9ae4b199640f0e')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-jack \
- --enable-ao --enable-mod \
- --with-zeroconf=no
- make || return 1
- make DESTDIR=${pkgdir} install
-
- # set ours dirs in mpd.conf file
- sed -i 's|music_directory.*$|#music_directory "path_to_your_music_collection"|1' doc/mpdconf.example
- sed -i 's|playlist_directory.*$|playlist_directory "/var/lib/mpd/playlists"|1' doc/mpdconf.example
- sed -i 's|db_file.*$|db_file "/var/lib/mpd/mpd.db"|1' doc/mpdconf.example
- sed -i 's|log_file.*$|log_file "/var/log/mpd/mpd.log"|1' doc/mpdconf.example
- sed -i 's|error_file.*$|error_file "/var/log/mpd/mpd.error"|1' doc/mpdconf.example
- sed -i 's|#pid_file.*$|pid_file "/var/run/mpd/mpd.pid"|1' doc/mpdconf.example
- 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 || return 1
-
- install -D ${srcdir}/mpd ${pkgdir}/etc/rc.d/mpd || return 1
- install -d ${pkgdir}/var/lib/mpd/playlists ${pkgdir}/var/log/mpd ${pkgdir}/var/run/mpd
-}