updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / subsonic / PKGBUILD
blob2f61746218e88f3cfec392f4efd7bfcf8a1e6202
1 # Maintainer: M0Rf30 <morf3089@gmail.com>
2 # Contributors : hoban
3 pkgname=subsonic
4 pkgver=4.6
5 pkgrel=2
6 pkgdesc="Subsonic is a free, web-based media streamer and jukebox."
7 arch=('i686' 'x86_64')
8 url="http://subsonic.org/"
9 license=('GPL')
10 depends=('java-runtime')
11 conflicts=('subsonic-beta')
12 source=(http://prdownloads.sourceforge.net/subsonic/${pkgname}-${pkgver}-standalone.tar.gz
13 'subsonic.sh.off'       
14 'subsonic.rc')
15 backup=('var/subsonic/db')
16 install=$pkgname.install
18 build() {
19   cd ${srcdir}
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')