summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 18 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 732b5c4ef63..16986850d87 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,10 @@
-# Maintainer: M0Rf30 <morf3089@gmail.com>
-# Contributors : hoban
-# Contributors : Nrm
+# Maintainer: Thom Wiggers <thom@thomwiggers.nl>
+# Contributors: M0Rf30 <morf3089@gmail.com>
+# Contributors: hoban
+# Contributors: Nrm
pkgname=subsonic-beta
-pkgver=5.0.beta1
+pkgver=5.1.beta1
pkgrel=1
pkgdesc="A free, web-based media streamer and jukebox."
arch=('i686' 'x86_64')
@@ -12,19 +13,23 @@ license=('GPL')
depends=('jre7-openjdk-headless' 'libcups')
conflicts=('subsonic')
source=(http://prdownloads.sourceforge.net/subsonic/subsonic-${pkgver}-standalone.tar.gz
- 'subsonic.service')
-backup=('var/subsonic/db')
+ 'subsonic.service')
+backup=('var/lib/subsonic/db')
install=$pkgname.install
+
+sha512sums=('935317342bb608ebb29d3ab2050ec867340d68a5c1fc831d8099ed70bebfb260823b556719fef1c90e7f638c795fb6c6021ec4190506bb7134e48d84bb9f79d4'
+ '9026ea4e216f359146cf325083ddbf051d1d141bf6342ec750723ab891e5a212f55411ce8d0dd9697b8636541618220498fc8aa9b4c680a8d2c34ab7ee4db02e')
package() {
cd ${srcdir}
- mkdir -p $pkgdir/var/subsonic
+ mkdir -p $pkgdir/var/lib/subsonic
+ mkdir -p $pkgdir/var/playlists
mkdir -p $pkgdir/usr/lib/systemd/system
- cp * $pkgdir/var/subsonic
- rm $pkgdir/var/subsonic/{subsonic.bat,subsonic-${pkgver}-standalone.tar.gz}
+ mkdir -p $pkgdir/etc/
+ sed -i 's/SUBSONIC_HOME=\/var\/subsonic/SUBSONIC_HOME=\/var\/lib\/subsonic/' subsonic.sh
+ cp * $pkgdir/var/lib/subsonic
+ rm $pkgdir/var/lib/subsonic/{subsonic.bat,subsonic-${pkgver}-standalone.tar.gz}
+ ln -fs /var/lib/subsonic/subsonic.sh $pkgdir/etc/subsonic.conf
cp $srcdir/subsonic.service $pkgdir/usr/lib/systemd/system
- chmod +x $pkgdir/var/subsonic/subsonic.sh
+ chmod +x $pkgdir/var/lib/subsonic/subsonic.sh
}
-
-md5sums=('04addd4f090b75d09e3831e77982be2e'
- '0d321009898118fa9390631fd21c5e63')