summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThom Wiggers2014-12-31 13:39:57 +0100
committerThom Wiggers2014-12-31 13:39:57 +0100
commit6c493a271ec6ee205ed2284a10c4723ef6ad302c (patch)
tree821b79c8f831403717cab5502682489c38b9be79 /PKGBUILD
downloadaur-6c493a271ec6ee205ed2284a10c4723ef6ad302c.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..732b5c4ef63
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: M0Rf30 <morf3089@gmail.com>
+# Contributors : hoban
+# Contributors : Nrm
+
+pkgname=subsonic-beta
+pkgver=5.0.beta1
+pkgrel=1
+pkgdesc="A free, web-based media streamer and jukebox."
+arch=('i686' 'x86_64')
+url="http://subsonic.org/"
+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')
+install=$pkgname.install
+
+package() {
+ cd ${srcdir}
+ mkdir -p $pkgdir/var/subsonic
+ mkdir -p $pkgdir/usr/lib/systemd/system
+ cp * $pkgdir/var/subsonic
+ rm $pkgdir/var/subsonic/{subsonic.bat,subsonic-${pkgver}-standalone.tar.gz}
+ cp $srcdir/subsonic.service $pkgdir/usr/lib/systemd/system
+ chmod +x $pkgdir/var/subsonic/subsonic.sh
+}
+
+md5sums=('04addd4f090b75d09e3831e77982be2e'
+ '0d321009898118fa9390631fd21c5e63')