aur/mt-daapd to 0.2.4.2-8

This commit is contained in:
Kevin Mihelich 2012-10-13 22:30:09 +00:00
parent 9a0957c20b
commit a6ce18338b
2 changed files with 21 additions and 8 deletions

View file

@ -2,20 +2,17 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jon Kristian Nilsen <jokr.nilsen@gmail.com>
plugrel=1
pkgname=mt-daapd
pkgver=0.2.4.2
pkgrel=7
pkgrel=8
pkgdesc="A multi-threaded DAAP server compatible with iTunes music sharing"
url="http://www.mt-daapd.org/"
license=("LGPL")
arch=('i686' 'x86_64')
backup=(etc/mt-daapd/mt-daapd.conf)
depends=('libid3tag' 'gdbm' 'avahi')
makedepends=('automake' 'autoconf' 'patch')
depends=('libid3tag' 'avahi')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
mt-daapd fix-libs.patch)
mt-daapd fix-libs.patch mt-daapd.service)
build() {
cd "$srcdir/$pkgname-$pkgver"
@ -31,8 +28,10 @@ build() {
install -D -m644 $srcdir/$pkgname-$pkgver/contrib/mt-daapd.playlist $pkgdir/etc/mt-daapd/sample.playlist && \
install -D -m644 $srcdir/$pkgname-$pkgver/contrib/mt-daapd.conf $pkgdir/etc/mt-daapd/mt-daapd.conf && \
install -D -m755 $srcdir/mt-daapd $pkgdir/etc/rc.d/mt-daapd
install -D -m755 $srcdir/mt-daapd $pkgdir/etc/rc.d/mt-daapd && \
install -D -m644 $srcdir/mt-daapd.service $pkgdir/usr/lib/systemd/system/mt-daapd.service
}
md5sums=('67bef9fb14d487693b0dfb792c3f1b05'
'26cf6ff799ef06d262a8648d6890a250'
'59896e760486a51170d8b0e7ed5a2506')
'59896e760486a51170d8b0e7ed5a2506'
'e4fe850008da5206286c3ced6384ac4c')

14
aur/mt-daapd/mt-daapd.service Executable file
View file

@ -0,0 +1,14 @@
[Unit]
Description=mt-daapd - multi-threaded DAAP server
ConditionPathExists=/etc/mt-daapd/mt-daapd.conf
Requires=network.target
Wants=avahi-daemon.service
After=avahi-daemon.service
[Service]
Type=forking
ExecStart=/usr/sbin/mt-daapd
Restart=always
[Install]
WantedBy=multi-user.target