blob: 77d8b7f48b110a5b05ed0d450b82a5a31bf891dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $Id: PKGBUILD 62999 2012-01-30 10:47:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer:Biginoz < biginoz AT free point fr>
# Contributor: Ignacio Galmarino <igalmarino@gmail.com>
# Contributor: Matthias Sobczyk <matthias.sobczyk@googlemail.com>
pkgname=minidlna
pkgver=1.0.23
pkgrel=2
pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/minidlna/"
license=('GPL')
depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg' 'sqlite3')
conflicts=('minidlna-cvs')
backup=('etc/minidlna.conf'
'etc/conf.d/minidlna')
changelog=changelog
source=(http://downloads.sourceforge.net/minidlna/minidlna_${pkgver}_src.tar.gz
minidlna.rc)
md5sums=('409a36830a9ac2aaddfaff4c8b90a40f'
'b64b8b749f1c23b3f1a2ee6d6ded07fd')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
DESTDIR=$pkgdir make install
install -Dm644 minidlna.conf ${pkgdir}/etc/minidlna.conf
install -Dm755 ${srcdir}/minidlna.rc ${pkgdir}/etc/rc.d/minidlna
mkdir -p $pkgdir/etc/conf.d
echo 'MINIDLNA_USER=nobody' >$pkgdir/etc/conf.d/minidlna
}
|