summaryrefslogtreecommitdiff
path: root/community/minidlna/PKGBUILD
blob: 3df7e57208b23aebe437c25e8c616e6a7704ebc4 (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
# $Id: PKGBUILD 43934 2011-03-31 20:13:41Z 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.19
pkgrel=2
pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
arch=('i686' 'x86_64')
url="http://minidlna.sourceforge.net"
license=('GPL')
depends=('libexif' 'libjpeg' 'libid3tag' 'flac' 'libvorbis' 'ffmpeg' 'sqlite3')
conflicts=('minidlna-cvs')
backup=('etc/minidlna.conf')
source=(http://downloads.sourceforge.net/minidlna/minidlna_${pkgver}_src.tar.gz
        minidlna.rc)
md5sums=('8bb5f2c0abc009e16039d7deecf09cf6'
         '80c423f003894ad15d7de41f3ed342c0')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  DESTDIR=$pkgdir make install
  install -D -m755 ${srcdir}/minidlna.rc ${pkgdir}/etc/rc.d/minidlna
}