1 # Maintainer: M0Rf30 <morf3089@gmail.com>
6 pkgdesc="Subsonic is a free, web-based media streamer and jukebox."
8 url="http://subsonic.org/"
10 depends=('java-runtime')
11 conflicts=('subsonic-beta')
12 source=(http://prdownloads.sourceforge.net/subsonic/${pkgname}-${pkgver}-standalone.tar.gz
15 backup=('var/subsonic/db')
16 install=$pkgname.install
20 mkdir -p $pkgdir/var/subsonic
21 mkdir -p $pkgdir/etc/rc.d
22 cp * $pkgdir/var/subsonic
23 rm $pkgdir/var/subsonic/{subsonic.rc,subsonic.bat,${pkgname}-${pkgver}-standalone.tar.gz}
24 cp $srcdir/subsonic.rc $pkgdir/etc/rc.d/subsonic
25 chmod +x $pkgdir/etc/rc.d/subsonic
26 cp $srcdir/subsonic.sh.off $pkgdir/var/subsonic/subsonic.sh
27 chmod +x $pkgdir/var/subsonic/subsonic.sh
30 md5sums=('b64de421705baabcbb111b9bb5a87cde'
31 'd3996a319fa1e8c51614ee2cc645c3aa'
32 'fe298af83a38e4e3a794f3be18ca6af6')