PKGBUILDs/aur/minidlna/PKGBUILD

35 lines
951 B
Bash
Raw Normal View History

2010-12-22 20:36:48 +00:00
# Maintainer: Kevin Mihelich <leming@gmail.com>
pkgname=minidlna
pkgver=1.0.18
pkgrel=1
pkgdesc="A DLNA/UPnP-AV Media server (aka ReadyDLNA)"
arch=('i686' 'x86_64' '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=('8681b100242f0a2fef93cab7cdef061e' \
'f6933a2ebf9ffb37e6c26704acc763fb' \
'f2b79b4fe2b8f1df5a335900e1e00c5a')
build() {
cd ${srcdir}/${pkgname}
make || return 1
}
package() {
cd ${srcdir}/${pkgname}
make PREFIX=${pkgdir} install || return 1
install -D -m 755 ${srcdir}/minidlna.rc.d.script ${pkgdir}/etc/rc.d/minidlna
}