diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-06 16:55:33 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-02-06 16:55:33 -0200 |
commit | be7bcd5b4dc84932918b7c9afea7c744b16d2be8 (patch) | |
tree | 712a667adee4890a1e87147955f5445b58d4370a | |
parent | da425e1398bacd8f90603cbdec07d111f6be8f7a (diff) | |
parent | 52e05295dfe134f6d8aff1cb9406ad2b89aed67a (diff) | |
download | abslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.tar.gz abslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.tar.bz2 abslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r-- | pcr/pdsh/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/python-lirc/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/ums/PKGBUILD | 63 |
3 files changed, 124 insertions, 0 deletions
diff --git a/pcr/pdsh/PKGBUILD b/pcr/pdsh/PKGBUILD new file mode 100644 index 000000000..0f4fc2461 --- /dev/null +++ b/pcr/pdsh/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor: drrossum <d.r.vanrossum at gmx.de> +# Contributor: sh0 <mee@sh0.org> +# Maintainer : AurÃelien Desbrieres <aurelien@xload.io> + +pkgname=pdsh +pkgver=2.29 +pkgrel=2 +pkgdesc='Parallel Distributed Shell' +url='http://code.google.com/p/pdsh/' +arch=('i686' 'x86_64') +license=('GPL') +depends=('glibc' 'openssh' 'readline') +optdepends=('perl: required by the dshbak utility') +options=('libtool') +source=("http://pdsh.googlecode.com/files/$pkgname-$pkgver.tar.bz2") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man \ + --without-rsh \ + --with-ssh \ + --with-dshgroups \ + --with-readline || return 1 + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install || return 1 + rmdir "${pkgdir}/usr/sbin" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/python-lirc/PKGBUILD b/pcr/python-lirc/PKGBUILD new file mode 100644 index 000000000..06e6988ef --- /dev/null +++ b/pcr/python-lirc/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Contributor: Eelco Cramer <eelco@servicelab.org> +# Maintainer : Parabola Aurélien Desbrières <aurelien@xload.io> + +pkgname=python-lirc +pkgver=1.2.1 +pkgrel=1 +pkgdesc="LIRC extension written in Cython for Python 3" +arch=('any') +url="https://github.com/piface/pifacecad" +license=('GPL3') +depends=('python' + 'lirc' + 'cython') +makedepends=('python-distribute') +source=(https://github.com/tompreston/python-lirc/archive/v${pkgver}.tar.gz) + +build() { + cd $srcdir/$pkgname-${pkgver} + make py3 + python setup.py build +} + +package() { + cd $srcdir/$pkgname-${pkgver} + python setup.py install --prefix=/usr --root=$pkgdir install +} + diff --git a/pcr/ums/PKGBUILD b/pcr/ums/PKGBUILD new file mode 100644 index 000000000..329120adb --- /dev/null +++ b/pcr/ums/PKGBUILD @@ -0,0 +1,63 @@ +# Contributor: Red Squirrel <iam at redsquirrel87 dot com> +# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@xload.io> +# Based on PMS PKGBUILD + +pkgname=ums +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Universal Media Server: a DLNA-compliant UPnP Media Server." +arch=('i686' 'x86_64') +url="http://www.universalmediaserver.com/" +license=('GPL2') +depends=('mplayer' 'ffmpeg' 'mencoder' 'libmediainfo' 'java-runtime') +makedepends=("unzip") +[ "$CARCH" = "i686" ] && \ +optdepends=("vlc: For Internet video/audio") +[ "$CARCH" = "x86_64" ] && \ +optdepends=("vlc: Internet video/audio 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") + +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 +x $pkgdir/opt/ums/UMS.sh \ + $pkgdir/opt/ums/linux/tsMuxeR + touch $pkgdir/opt/ums/UMS.conf + touch $pkgdir/opt/ums/debug.log + chgrp users $pkgdir/opt/ums/UMS.conf \ + $pkgdir/opt/ums/WEB.conf \ + $pkgdir/opt/ums/debug.log \ + $pkgdir/opt/ums/database + + chmod g+w $pkgdir/opt/ums/UMS.conf \ + $pkgdir/opt/ums/WEB.conf \ + $pkgdir/opt/ums/debug.log \ + $pkgdir/opt/ums/database + + unzip -q -u $srcdir/$pkgname-$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 + + cat > ums.desktop << EoF +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=Universal Media Server +Comment=A DLNA-compliant UPnP Media Server. +Exec=/opt/ums/UMS.sh +Icon=ums.png +Terminal=false +Type=Application +Categories=Java;Multimedia;AudioVideo; +EoF + + install -D -m 644 $srcdir/ums.desktop $pkgdir/usr/share/applications/ums.desktop + +} |