diff options
Diffstat (limited to 'community/xmms2')
-rw-r--r-- | community/xmms2/PKGBUILD | 7 | ||||
-rw-r--r-- | community/xmms2/xmms2d.rc | 39 |
2 files changed, 2 insertions, 44 deletions
diff --git a/community/xmms2/PKGBUILD b/community/xmms2/PKGBUILD index 41b8529cc..7a67d6d18 100644 --- a/community/xmms2/PKGBUILD +++ b/community/xmms2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 88557 2013-04-19 17:25:15Z spupykin $ +# $Id: PKGBUILD 90741 2013-05-13 14:42:50Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=xmms2 pkgver=0.8DrO_o -pkgrel=12 +pkgrel=13 pkgdesc="complete rewrite of the popular music player" arch=('i686' 'x86_64' 'mips64el') url="http://xmms2.org/" @@ -53,12 +53,10 @@ conflicts=('xmms2-devel') install=xmms2.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "xmms2d.conf" - "xmms2d.rc" "xmms2d.service" "ffmpeg-0.11.diff") md5sums=('84d5c05a70bfd31ed392a4e3f701eaa3' 'af13c937bf3c86b77ae6820107aab9b8' - '31ab8c0980966dbe3e9f5e80b7b82612' '47e68461589578e8a99857746c5b6f29' 'e176971ef96807f72fa8fc17d260c20a') @@ -91,7 +89,6 @@ package() { ./waf build ./waf --destdir=${pkgdir} install - install -Dm0755 $srcdir/xmms2d.rc ${pkgdir}/etc/rc.d/xmms2d install -Dm0644 $srcdir/xmms2d.conf ${pkgdir}/etc/conf.d/xmms2d.conf install -Dm0644 $srcdir/xmms2d.service $pkgdir/usr/lib/systemd/system/xmms2d.service } diff --git a/community/xmms2/xmms2d.rc b/community/xmms2/xmms2d.rc deleted file mode 100644 index 5387448d9..000000000 --- a/community/xmms2/xmms2d.rc +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -. /etc/conf.d/xmms2d.conf -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof xmms2d xmms2-et` -case "$1" in - start) - stat_busy "Starting xmms2d" - [ -z "$PID" ] && su -c "/usr/bin/xmms2-launcher $XMMS2_PARAMETERS 1>/dev/null 2>/dev/null" - $XMMS2_USER - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon xmms2d - stat_done - fi - ;; - stop) - stat_busy "Stopping xmms2d" - [ ! -z "$PID" ] && su -c '/usr/bin/xmms2 quit &>/dev/null' - $XMMS2_USER - if [ $? -gt 0 ]; then - stat_fail - else - for i in `seq 1 10`; do - [ -d /proc/$PID ] || { stat_done; rm_daemon xmms2d; exit 0; } - sleep 1 - done - stat_fail - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |