mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
removed aur/minidlna - now maintained in ABS community
This commit is contained in:
parent
3cbd1d6a7e
commit
63fa64f101
3 changed files with 0 additions and 97 deletions
|
@ -1,36 +0,0 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@plugapps.com>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=minidlna
|
||||
pkgver=1.0.19
|
||||
pkgrel=1
|
||||
pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
|
||||
arch=('arm')
|
||||
url="http://minidlna.sourceforge.net/"
|
||||
license=('BSD' 'GPL')
|
||||
depends=('sqlite3' 'libjpeg' 'libexif' 'libid3tag' 'libvorbis' 'flac' 'ffmpeg' 'util-linux-ng')
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
conflicts=('minidlna')
|
||||
options=()
|
||||
install=${pkgname}.install
|
||||
backup=('etc/minidlna.conf')
|
||||
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}_${pkgver}_src.tar.gz \
|
||||
minidlna.rc.d.script \
|
||||
minidlna.install)
|
||||
md5sums=('8bb5f2c0abc009e16039d7deecf09cf6' \
|
||||
'f6933a2ebf9ffb37e6c26704acc763fb' \
|
||||
'f2b79b4fe2b8f1df5a335900e1e00c5a')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
install -D -m 755 ${srcdir}/minidlna.rc.d.script ${pkgdir}/etc/rc.d/minidlna
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
post_install() {
|
||||
cat << _EOF
|
||||
==> Edit /etc/minidlna.conf before running minidlna.
|
||||
==> Add 'minidlna' to the DAEMONS array in /etc/rc.conf
|
||||
==> to start MiniDLNA at boot-up.
|
||||
_EOF
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# chkconfig: 345 99 10
|
||||
# description: Startup/shutdown script for MiniDLNA daemon
|
||||
#
|
||||
# $Id: minidlna.init.d.script,v 1.2 2009/07/02 00:33:15 jmaggard Exp $
|
||||
# MiniUPnP project
|
||||
# author: Thomas Bernard
|
||||
# website: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||
|
||||
# Modified for Arch Linux
|
||||
# Maintainer: ponsfoot <cabezon.hashimoto@gmail.com> 2010-01-20.
|
||||
|
||||
MINIDLNA=/usr/sbin/minidlna
|
||||
ARGS='-f /etc/minidlna.conf'
|
||||
PIDFILE=/var/run/minidlna.pid
|
||||
|
||||
test -f $MINIDLNA || exit 0
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
[[ -f $PIDFILE ]] && PID=`cat $PIDFILE`
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting MiniDLNA Daemon"
|
||||
[[ -z "$PID" ]] && $MINIDLNA $ARGS -P $PIDFILE
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon minidlna
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping MiniDLNA Daemon"
|
||||
[[ ! -z "&PID" ]] && kill $PID &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon minidlna
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
||||
exit 0
|
Loading…
Reference in a new issue