summaryrefslogtreecommitdiff
path: root/community/minidlna/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/minidlna/PKGBUILD')
-rw-r--r--community/minidlna/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/minidlna/PKGBUILD b/community/minidlna/PKGBUILD
new file mode 100644
index 000000000..adf1e58e0
--- /dev/null
+++ b/community/minidlna/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 91520 2013-05-23 11:15:33Z 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>
+# Contributor: Kamil Kaminski <kyle@kkaminsk.com>
+
+pkgname=minidlna
+pkgver=1.1.0
+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' 'sqlite')
+backup=('etc/minidlna.conf'
+ 'etc/conf.d/minidlna')
+install=minidlna.install
+changelog=changelog
+source=(http://downloads.sourceforge.net/project/minidlna/minidlna/$pkgver/minidlna-$pkgver.tar.gz
+ minidlna.service
+ minidlna.tmpfiles)
+md5sums=('26484a84af3fceafdee26595aae097f7'
+ '7e3890ee50aa4dfa4d1754261e6cc965'
+ '26de27b12d6a37c47d9714107d07aac9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ DESTDIR=$pkgdir make install
+ install -Dm644 minidlna.conf ${pkgdir}/etc/minidlna.conf
+ install -Dm0644 $srcdir/minidlna.tmpfiles $pkgdir/usr/lib/tmpfiles.d/minidlna.conf
+ install -Dm0644 $srcdir/minidlna.service $pkgdir/usr/lib/systemd/system/minidlna.service
+}