SHARE
TWEET

Untitled

a guest Oct 28th, 2015 149 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: M0Rf30
  2. # Contributors: Thom Wiggers <thom@thomwiggers.nl>
  3. # Contributors: hoban
  4. # Contributors: Nrm
  5.  
  6. pkgname=subsonic
  7. pkgver=5.3
  8. pkgrel=1
  9. pkgdesc="A free, web-based media streamer and jukebox."
  10. arch=('any')
  11. url="http://subsonic.org/"
  12. license=('GPL')
  13. depends=('java-runtime-headless')
  14. conflicts=('subsonic')
  15. source=(http://prdownloads.sourceforge.net/subsonic/subsonic-${pkgver}-standalone.tar.gz      
  16.             'subsonic.service')
  17. backup=('var/lib/subsonic/db' 'var/lib/subsonic/subsonic.properties' 'var/lib/subsonic/subsonic.sh')
  18. install=$pkgname.install
  19.  
  20. package() {
  21.   cd ${srcdir}
  22.   mkdir -p $pkgdir/var/lib/subsonic
  23.   mkdir -p $pkgdir/var/playlists
  24.   mkdir -p $pkgdir/usr/lib/systemd/system
  25.   mkdir -p $pkgdir/etc/
  26.   sed -i 's/SUBSONIC_HOME=\/var\/subsonic/SUBSONIC_HOME=\/var\/lib\/subsonic/' subsonic.sh
  27.   cp  * $pkgdir/var/lib/subsonic
  28.   rm $pkgdir/var/lib/subsonic/{subsonic.bat,subsonic-${pkgver}-standalone.tar.gz}
  29.   ln -fs /var/lib/subsonic/subsonic.sh $pkgdir/etc/subsonic.conf
  30.   cp $srcdir/subsonic.service $pkgdir/usr/lib/systemd/system
  31.   chmod +x $pkgdir/var/lib/subsonic/subsonic.sh
  32. }
  33.  
  34. md5sums=('c3f66d64565f76fd01b5f81caba91b3b'
  35.          '7cbbb9c8357992385c929e9f05be00be')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top