updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / mt-daapd-svn / PKGBUILD
blobee38619a156fb85947e1e0307f6d16fc321f764c
1 # Contributor: Ricardo Martins <meqif@swearing-ape.net>
2 pkgname=mt-daapd-svn
3 pkgver=1463
4 pkgrel=1
5 pkgdesc="An open-source media server for the Roku SoundBridge and Apple iTunes which supports server-side transcoding and other advanced features."
6 url="http://www.fireflymediaserver.org/"
7 license=('GPL' 'custom:ASPL')
8 depends=('flac' 'libid3tag' 'sqlite3' 'libvorbis' 'avahi' 'vorbis-tools')
9 makedepends=()
10 provides=('mt-daapd')
11 conflicts=('mt-daapd')
12 replaces=()
13 backup=(etc/mt-daapd.conf)
14 install=
15 source=(http://nightlies.mt-daapd.org/$pkgname-$pkgver.tar.gz \
16         mt-daapd)
17 md5sums=('2f918d7dbe09f06153de90cba7e2df9b' \
18         '96156b11573d513785a7e94399d8a6e4')
20 build() {
21   cd $startdir/src/$pkgname-$pkgver
22   ./configure --prefix=/usr --enable-flac --enable-avahi --enable-oggvorbis --enable-sqlite3
23   make || return 1
24   make DESTDIR=$startdir/pkg install
25   mkdir -p $startdir/pkg/etc/rc.d
26   cp $startdir/mt-daapd $startdir/pkg/etc/rc.d/mt-daapd
27   cp $startdir/src/$pkgname-$pkgver/contrib/mt-daapd.conf $startdir/pkg/etc/mt-daapd.conf
28   mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
29   cp $startdir/src/$pkgname-$pkgver/admin-root/aspl-license.txt $startdir/pkg/usr/share/licenses/$pkgname/aspl-license.txt