summaryrefslogtreecommitdiff
path: root/pcr/ums/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-10 11:19:14 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-10 11:19:14 +0200
commitdab1f3d724bc5ce772677a9e52153275bb54436b (patch)
treedc4ccf737ebdedaef39c02841df739fa951e0721 /pcr/ums/PKGBUILD
parent1c8bfae74e5b595e9a5897de8f447afef9d59b21 (diff)
ums
Diffstat (limited to 'pcr/ums/PKGBUILD')
-rw-r--r--pcr/ums/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/pcr/ums/PKGBUILD b/pcr/ums/PKGBUILD
index 35d5878c4..5894c65d1 100644
--- a/pcr/ums/PKGBUILD
+++ b/pcr/ums/PKGBUILD
@@ -1,9 +1,9 @@
-# Contributor (Arch): Red Squirrel <iam at redsquirrel87 dot com>
-# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@xload.io>
+# Contributor (Arch) : Red Squirrel <iam at redsquirrel87 dot com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
# Based on PMS PKGBUILD
pkgname=ums
-pkgver=3.4.0
+pkgver=4.0.0
pkgrel=1
pkgdesc="Universal Media Server: a DLNA-compliant UPnP Media Server."
arch=('i686' 'x86_64')
@@ -15,18 +15,19 @@ makedepends=("unzip")
optdepends=("vlc: For Internet video/audio")
[ "$CARCH" = "x86_64" ] && \
optdepends=("vlc: Internet video/audio support"
+ "dcraw: thumbnails creation support"
"lib32-gcc-libs: tsMuxeR 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.tgz")
+source=("http://downloads.sourceforge.net/project/unimediaserver/Official%20Releases/Linux/UMS-$pkgver-a1.tgz")
package() {
mkdir -p $pkgdir/opt/ums
mkdir $pkgdir/opt/ums/database
mkdir -p $pkgdir/usr/bin
- chmod -R 755 $srcdir/$pkgname-$pkgver/plugins $srcdir/$pkgname-$pkgver/documentation
- cp -r $srcdir/$pkgname-$pkgver/* $pkgdir/opt/ums/
+ chmod -R 755 $srcdir/$pkgname-$pkgver-a1/plugins $srcdir/$pkgname-$pkgver-a1/documentation
+ cp -r $srcdir/$pkgname-$pkgver-a1/* $pkgdir/opt/ums/
chmod +x $pkgdir/opt/ums/UMS.sh \
$pkgdir/opt/ums/linux/tsMuxeR
touch $pkgdir/opt/ums/UMS.conf
@@ -41,7 +42,7 @@ package() {
$pkgdir/opt/ums/debug.log \
$pkgdir/opt/ums/database
- unzip -q -u $srcdir/$pkgname-$pkgver/ums.jar -d ums_jar
+ unzip -q -u $srcdir/$pkgname-$pkgver-a1/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