PKGBUILDs/aur/minidlna/PKGBUILD

37 lines
982 B
Bash
Raw Normal View History

2010-12-22 20:36:48 +00:00
# Maintainer: Kevin Mihelich <leming@gmail.com>
plugrel=1
2010-12-22 20:36:48 +00:00
pkgname=minidlna
2011-03-15 09:40:55 +00:00
pkgver=1.0.19
2010-12-22 20:36:48 +00:00
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=()
2011-03-15 09:40:55 +00:00
conflicts=('minidlna')
2010-12-22 20:36:48 +00:00
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)
2011-03-15 09:40:55 +00:00
md5sums=('8bb5f2c0abc009e16039d7deecf09cf6' \
2010-12-22 20:36:48 +00:00
'f6933a2ebf9ffb37e6c26704acc763fb' \
'f2b79b4fe2b8f1df5a335900e1e00c5a')
build() {
2011-03-15 09:40:55 +00:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-12-22 20:36:48 +00:00
make || return 1
}
package() {
2011-03-15 09:40:55 +00:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-12-22 20:36:48 +00:00
make PREFIX=${pkgdir} install || return 1
install -D -m 755 ${srcdir}/minidlna.rc.d.script ${pkgdir}/etc/rc.d/minidlna
}