[arch-commits] Commit in livestreamer/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 25 16:31:05 UTC 2016
Date: Sunday, December 25, 2016 @ 16:31:04
Author: bpiotrowski
Revision: 201910
archrelease: copy trunk to community-staging-any
Added:
livestreamer/repos/community-staging-any/
livestreamer/repos/community-staging-any/PKGBUILD
(from rev 201909, livestreamer/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: livestreamer/repos/community-staging-any/PKGBUILD (from rev 201909, livestreamer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-25 16:31:04 UTC (rev 201910)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Christopher Rosell <chrippa at tanuki.se>
+pkgname=livestreamer
+pkgver=1.12.2
+pkgrel=3
+pkgdesc='CLI program that launches streams from various streaming services in a custom video player'
+arch=('any')
+url='https://github.com/chrippa/livestreamer'
+license=('BSD')
+depends=('python-requests' 'rtmpdump' 'python-setuptools')
+makedepends=('python-sphinx')
+source=(https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('ef3e743d0cabc27d8ad906c356e74370799e25ba46c94d3b8d585af77a258de0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py build_sphinx -b man
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 build/sphinx/man/livestreamer.1 \
+ "$pkgdir/usr/share/man/man1/livestreamer.1"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list