mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/xmms2 to 0.8DrO_o-13
This commit is contained in:
parent
708068c2a9
commit
0e70d8b8ed
2 changed files with 1 additions and 43 deletions
|
@ -6,7 +6,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/"
|
||||
|
@ -54,12 +54,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')
|
||||
|
||||
|
@ -92,7 +90,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
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue