[arch-commits] Commit in xmms2/trunk (PKGBUILD xmms2d.rc)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:42:09 EDT 2013


    Date: Monday, May 13, 2013 @ 16:42:09
  Author: spupykin
Revision: 90740

upgpkg: xmms2 0.8DrO_o-13

upd

Modified:
  xmms2/trunk/PKGBUILD
Deleted:
  xmms2/trunk/xmms2d.rc

-----------+
 PKGBUILD  |    5 +----
 xmms2d.rc |   39 ---------------------------------------
 2 files changed, 1 insertion(+), 43 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:42:05 UTC (rev 90739)
+++ PKGBUILD	2013-05-13 14:42:09 UTC (rev 90740)
@@ -3,7 +3,7 @@
 
 pkgname=xmms2
 pkgver=0.8DrO_o
-pkgrel=12
+pkgrel=13
 pkgdesc="complete rewrite of the popular music player"
 arch=('i686' 'x86_64')
 url="http://xmms2.org/"
@@ -52,12 +52,10 @@
 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')
 
@@ -90,7 +88,6 @@
   ./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
 }

Deleted: xmms2d.rc
===================================================================
--- xmms2d.rc	2013-05-13 14:42:05 UTC (rev 90739)
+++ xmms2d.rc	2013-05-13 14:42:09 UTC (rev 90740)
@@ -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



More information about the arch-commits mailing list