summaryrefslogtreecommitdiff
path: root/pcr/ums/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 09:43:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 09:43:34 -0500
commite1b2f27498960328b87c739c7e059086258f241c (patch)
treeb56a50ae7a7cba07ef906c22f00e622203798fef /pcr/ums/PKGBUILD
parent51dc41bdff478ce8e5f7fa1cb6539f4e59eb73a6 (diff)
ums-5.1.2-1: updating version
Diffstat (limited to 'pcr/ums/PKGBUILD')
-rw-r--r--pcr/ums/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/pcr/ums/PKGBUILD b/pcr/ums/PKGBUILD
index a43e26b06..f2842ec06 100644
--- a/pcr/ums/PKGBUILD
+++ b/pcr/ums/PKGBUILD
@@ -1,12 +1,12 @@
# Contributor (Arch) : Red Squirrel <iam at redsquirrel87 dot com>
-# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
# Based on PMS PKGBUILD
pkgname=ums
-pkgver=4.0.0
+pkgver=5.1.2
pkgrel=1
-pkgdesc="Universal Media Server: a DLNA-compliant UPnP Media Server."
-arch=('i686' 'x86_64' 'mips64el')
+pkgdesc="Universal Media Server: a DLNA-compliant UPnP Media Server. Build based on Java 8."
+arch=('i686' 'x86_64')
url="http://www.universalmediaserver.com/"
license=('GPL2')
depends=('mplayer' 'ffmpeg' 'mencoder' 'libmediainfo' 'java-runtime')
@@ -20,14 +20,15 @@ optdepends=("vlc: Internet video/audio support"
"lib32-glibc: tsMuxeR support")
backup=(opt/ums/UMS.conf \
opt/ums/WEB.conf)
-source=("http://downloads.sourceforge.net/project/unimediaserver/Official%20Releases/Linux/UMS-$pkgver-a1.tgz")
+source=("http://downloads.sourceforge.net/project/unimediaserver/Official%20Releases/Linux/UMS-$pkgver-Java8.tgz")
+sha1sums=('4d154944e4163bac45021a7530c85a6ccaade28f')
package() {
mkdir -p $pkgdir/opt/ums
mkdir $pkgdir/opt/ums/database
mkdir -p $pkgdir/usr/bin
- chmod -R 755 $srcdir/$pkgname-$pkgver-a1/plugins $srcdir/$pkgname-$pkgver-a1/documentation
- cp -r $srcdir/$pkgname-$pkgver-a1/* $pkgdir/opt/ums/
+ chmod -R 755 $srcdir/ums-$pkgver/plugins $srcdir/ums-$pkgver/documentation
+ cp -r $srcdir/ums-$pkgver/* $pkgdir/opt/ums/
chmod +x $pkgdir/opt/ums/UMS.sh \
$pkgdir/opt/ums/linux/tsMuxeR
touch $pkgdir/opt/ums/UMS.conf
@@ -42,7 +43,7 @@ package() {
$pkgdir/opt/ums/debug.log \
$pkgdir/opt/ums/database
- unzip -q -u $srcdir/$pkgname-$pkgver-a1/ums.jar -d ums_jar
+ unzip -q -u $srcdir/ums-$pkgver/ums.jar -d ums_jar
install -d -m 755 $pkgdir/usr/share/pixmaps
install -D -m 644 $srcdir/ums_jar/resources/images/logo.png $pkgdir/usr/share/pixmaps/ums.png
@@ -61,4 +62,4 @@ EoF
install -D -m 644 $srcdir/ums.desktop $pkgdir/usr/share/applications/ums.desktop
-}
+} \ No newline at end of file