[arch-commits] Commit in mps-youtube/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Sun Sep 20 12:14:22 UTC 2015
Date: Sunday, September 20, 2015 @ 14:14:22
Author: jelle
Revision: 141256
archrelease: copy trunk to community-staging-any
Added:
mps-youtube/repos/community-staging-any/
mps-youtube/repos/community-staging-any/PKGBUILD
(from rev 141255, mps-youtube/trunk/PKGBUILD)
mps-youtube/repos/community-staging-any/mps-youtube.install
(from rev 141255, mps-youtube/trunk/mps-youtube.install)
---------------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
mps-youtube.install | 7 +++++++
2 files changed, 34 insertions(+)
Copied: mps-youtube/repos/community-staging-any/PKGBUILD (from rev 141255, mps-youtube/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-20 12:14:22 UTC (rev 141256)
@@ -0,0 +1,27 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=mps-youtube
+pkgver=0.2.5
+pkgrel=2
+
+pkgdesc="Terminal based YouTube jukebox with playlist management"
+url='https://github.com/np1/mps-youtube'
+arch=('any')
+license=('GPL3')
+
+depends=('python' 'python-setuptools' 'python-pafy')
+optdepends=('mpv: Alternative to mplayer for playback'
+ 'mplayer: Alternative to mpv for playback'
+ 'ffmpeg: for transcoding downloaded content'
+ 'xclip: for copying content to the clipboard')
+
+install=mps-youtube.install
+
+source=("mps-youtube-$pkgver.tar.gz::https://github.com/np1/mps-youtube/archive/v$pkgver.tar.gz")
+
+sha256sums=('74d196058c9369a3587f076cafb1ee15baeb6be1465e270f7de9d9830463c869')
+
+package() {
+ cd mps-youtube-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
Copied: mps-youtube/repos/community-staging-any/mps-youtube.install (from rev 141255, mps-youtube/trunk/mps-youtube.install)
===================================================================
--- community-staging-any/mps-youtube.install (rev 0)
+++ community-staging-any/mps-youtube.install 2015-09-20 12:14:22 UTC (rev 141256)
@@ -0,0 +1,7 @@
+post_install () {
+ printf "%s\n" "==> Install either mpv or mplayer for playback."
+}
+
+post_upgrade () {
+ post_install $1
+}
More information about the arch-commits
mailing list