SHARE
TWEET

Subsonic 6.0 PKGBUILD

a guest May 1st, 2016 98 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. # Contributors: MattScherbatsky
  6.  
  7. pkgname=subsonic
  8. pkgver=6.0
  9. pkgrel=1
  10. pkgdesc="A free, web-based media streamer and jukebox."
  11. arch=('any')
  12. url="http://subsonic.org/"
  13. license=('GPL')
  14. depends=('java-runtime-headless')
  15. conflicts=('subsonic')
  16. source=(http://subsonic.org/download/subsonic-${pkgver}-standalone.tar.gz      
  17.         'subsonic.service')
  18. backup=('var/lib/subsonic/db' 'var/lib/subsonic/subsonic.properties' 'var/lib/subsonic/subsonic.sh')
  19. install=$pkgname.install
  20.  
  21. package() {
  22.   cd ${srcdir}
  23.   mkdir -p $pkgdir/var/lib/subsonic
  24.   mkdir -p $pkgdir/var/playlists
  25.   mkdir -p $pkgdir/usr/lib/systemd/system
  26.   mkdir -p $pkgdir/etc/
  27.   sed -i 's/SUBSONIC_HOME=\/var\/subsonic/SUBSONIC_HOME=\/var\/lib\/subsonic/' subsonic.sh
  28.   cp  * $pkgdir/var/lib/subsonic
  29.   rm $pkgdir/var/lib/subsonic/{subsonic.bat,subsonic-${pkgver}-standalone.tar.gz}
  30.   ln -fs /var/lib/subsonic/subsonic.sh $pkgdir/etc/subsonic.conf
  31.   cp $srcdir/subsonic.service $pkgdir/usr/lib/systemd/system
  32.   chmod +x $pkgdir/var/lib/subsonic/subsonic.sh
  33. }
  34.  
  35. md5sums=('5bfb0c06585d087801a6b67c6cb2bd78'
  36.          '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