From 3080fa3d82b743b7dacb87ccd18664747d755de4 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 4 Jul 2011 14:21:39 -0700 Subject: mpc/d:invalid location --- abs/extra/community/mpc/ChangeLog | 15 ------------- abs/extra/community/mpc/PKGBUILD | 26 --------------------- abs/extra/community/mpd/PKGBUILD | 45 ------------------------------------- abs/extra/community/mpd/mpd | 42 ---------------------------------- abs/extra/community/mpd/mpd.install | 23 ------------------- 5 files changed, 151 deletions(-) delete mode 100644 abs/extra/community/mpc/ChangeLog delete mode 100644 abs/extra/community/mpc/PKGBUILD delete mode 100644 abs/extra/community/mpd/PKGBUILD delete mode 100755 abs/extra/community/mpd/mpd delete mode 100644 abs/extra/community/mpd/mpd.install diff --git a/abs/extra/community/mpc/ChangeLog b/abs/extra/community/mpc/ChangeLog deleted file mode 100644 index b645e19..0000000 --- a/abs/extra/community/mpc/ChangeLog +++ /dev/null @@ -1,15 +0,0 @@ -2009-03-11 Alexander Fehr - - * mpc-0.15-1: - New upstream release. - Changed license to GPL2. - -2008-12-22 Alexander Fehr - - * mpc-0.14-1: - New upstream release. - New maintainer. - Changed url. - Added !emptydirs option. - Changed download location to downloads.sourceforge.net. - Added ChangeLog. diff --git a/abs/extra/community/mpc/PKGBUILD b/abs/extra/community/mpc/PKGBUILD deleted file mode 100644 index 345a2d6..0000000 --- a/abs/extra/community/mpc/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# $Id: PKGBUILD 33671 2009-04-04 15:49:53Z alexanderf $ -# Maintainer: Alexander Fehr -# Contributor: Link Dupont - -pkgname=mpc -pkgver=0.15 -pkgrel=1 -pkgdesc="Minimalist command line interface to MPD" -arch=('i686' 'x86_64') -url="http://mpd.wikia.com/wiki/Client:Mpc" -license=('GPL2') -depends=('glibc') -options=('!emptydirs') -source=(http://downloads.sourceforge.net/musicpd/mpc-$pkgver.tar.bz2) -md5sums=('48897aeb3a7ee5c64f30e56789f105a8') - -build() { - cd "$srcdir/mpc-$pkgver" - - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 - - # Install bash completion file - install -D -m644 doc/mpc-bashrc "$pkgdir/etc/bash_completion.d/mpc" || return 1 -} 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 -# Contributor: Ben - -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 -} diff --git a/abs/extra/community/mpd/mpd b/abs/extra/community/mpd/mpd deleted file mode 100755 index 76ec1c0..0000000 --- a/abs/extra/community/mpd/mpd +++ /dev/null @@ -1,42 +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 - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon mpd - stat_done - fi - ;; - stop) - stat_busy "Stopping Music Player Daemon" - /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon mpd - stat_done - fi - ;; - create-db) - stat_busy "Creating mpd's database ..." - logpath="/var/log/mpd/mpd.db-creation" - /usr/bin/mpd --create-db /etc/mpd.conf > $logpath \ - && stat_busy "Output written to $logpath" - stat_done - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart|create-db}" -esac -exit 0 diff --git a/abs/extra/community/mpd/mpd.install b/abs/extra/community/mpd/mpd.install deleted file mode 100644 index e44c9be..0000000 --- a/abs/extra/community/mpd/mpd.install +++ /dev/null @@ -1,23 +0,0 @@ -# arg 1: the new package version -post_install() { - echo "==> mpd: Create a config under /etc/mpd.conf before using MPD (Example: /etc/mpd.conf.example)" - groupadd -g 45 mpd &>/dev/null - useradd -u 45 -g mpd -d /var/lib/mpd -s /bin/true mpd &>/dev/null - gpasswd -a mpd audio &>/dev/null - chown mpd:mpd -R /var/{lib,log,run}/mpd -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - if [ "$(vercmp $2 0.12)" -lt 0 ]; then - echo "==> mpd: upgrade from 0.11 -> 0.12: configuration file syntax changed, " - echo "==> mpd: make sure to update your configuration file! example conf: /etc/mpd.conf.example" - fi - chown mpd:mpd -R /var/{lib,log,run}/mpd -} - -# arg 1: the old package version -pre_remove() { - userdel mpd &>/dev/null -} -- cgit v0.12