[arch-commits] Commit in gnump3d/trunk (PKGBUILD gnump3d)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 14:24:39 UTC 2013


    Date: Monday, May 13, 2013 @ 16:24:38
  Author: spupykin
Revision: 90668

upgpkg: gnump3d 3.0-8

upd

Modified:
  gnump3d/trunk/PKGBUILD
Deleted:
  gnump3d/trunk/gnump3d

----------+
 PKGBUILD |    5 +----
 gnump3d  |   46 ----------------------------------------------
 2 files changed, 1 insertion(+), 50 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:24:32 UTC (rev 90667)
+++ PKGBUILD	2013-05-13 14:24:38 UTC (rev 90668)
@@ -4,7 +4,7 @@
 
 pkgname=gnump3d
 pkgver=3.0
-pkgrel=7
+pkgrel=8
 url="http://www.gnu.org/software/gnump3d/"
 arch=(any)
 pkgdesc="A streaming server for MP3s, OGG vorbis files, movies and other media formats."
@@ -13,11 +13,9 @@
 backup=('etc/gnump3d/gnump3d.conf')
 install=gnump3d.install
 source=("http://savannah.gnu.org/download/$pkgname/$pkgname-$pkgver.tar.bz2"
-	'gnump3d'
 	'gnump3d.service'
 	'gnump3d-proxy.patch')
 md5sums=('41786650bbc591484c08014a89478bf9'
-         '4ac4fd5f3637613a5b5a191081437e23'
          'a9b8a415da859775ce30f1c1ff659739'
          '9978f8a8c10a87496e8920a09fb5e9e6')
 
@@ -55,6 +53,5 @@
     mkdir -p $pkgdir/srv/mp3
     sed -i "s|/home/mp3|/srv/mp3|" $pkgdir/etc/gnump3d/gnump3d.conf
 
-    install -D -m 755 $srcdir/gnump3d $pkgdir/etc/rc.d/gnump3d
     install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
 }

Deleted: gnump3d
===================================================================
--- gnump3d	2013-05-13 14:24:32 UTC (rev 90667)
+++ gnump3d	2013-05-13 14:24:38 UTC (rev 90668)
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_gnump3d_pid() {
-  ps -C gnump3d -o pid= -o args= | grep /usr/bin/gnump3d | awk '{print $1}' | tr '\n' ' '
-}
-
-case "$1" in
-  start)
-    stat_busy "Starting GNUMP3d Streaming Server"
-    [ "x$(get_gnump3d_pid)" == "x" ] && /usr/bin/gnump3d --quiet --background &
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon gnump3d
-      stat_done
-    fi
-    ;;
-
-  stop)
-    stat_busy "Stopping GNUMP3d Streaming Server"
-    for PID in $(get_gnump3d_pid) ; do
-      kill $PID 2> /dev/null
-    done
-    if [ $? -gt 0 ]; then
-      stat_fail   
-    else
-      rm_daemon gnump3d
-      stat_done
-    fi
-    ;;
-
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-
-exit 0
-




More information about the arch-commits mailing list