From 0e5d7c10090a6391cb4dadc59b400c295006d6f2 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 25 Feb 2014 17:03:17 +0100 Subject: Renamed pms-youtube to mps-youtube --- .SRCINFO | 21 +++++++++++++++++++++ PKGBUILD | 21 +++++++++++++++++++++ mps-youtube.install | 7 +++++++ 3 files changed, 49 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 mps-youtube.install diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..660b6ba --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:00:38 UTC 2015 +pkgbase = mps-youtube + pkgdesc = Terminal based YouTube jukebox with playlist management + pkgver = 0.01.32 + pkgrel = 2 + url = https://github.com/np1/mps-youtube + install = mps-youtube.install + arch = any + license = GPL3 + depends = python + depends = python-pafy + optdepends = mpv: Alternative to mplayer for playback + optdepends = mplayer: Alternative to mpv for playback + source = https://github.com/np1/mps-youtube/archive/v0.01.32.tar.gz + source = mps-youtube.install + md5sums = e2c7c2428d712fd8f447998d870cd9a7 + md5sums = 60f96ac1aa29a2024d2213004636bee8 + +pkgname = mps-youtube + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..aeb8039 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Johannes Löthberg + +pkgname=mps-youtube +pkgver=0.01.32 +pkgrel=2 +pkgdesc="Terminal based YouTube jukebox with playlist management" +arch=('any') +url='https://github.com/np1/mps-youtube' +license=('GPL3') +depends=('python' 'python-pafy') +optdepends=('mpv: Alternative to mplayer for playback' + 'mplayer: Alternative to mpv for playback') +install=mps-youtube.install +source=('https://github.com/np1/mps-youtube/archive/v0.01.32.tar.gz' 'mps-youtube.install') +md5sums=('e2c7c2428d712fd8f447998d870cd9a7' + '60f96ac1aa29a2024d2213004636bee8') + +package() { + cd mps-youtube-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} diff --git a/mps-youtube.install b/mps-youtube.install new file mode 100644 index 0000000..96700c6 --- /dev/null +++ b/mps-youtube.install @@ -0,0 +1,7 @@ +post_install () { + printf "==> Remember to install either mpv or mplayer for playback support.\n" +} + +post_upgrade () { + post_install $1 +} -- cgit v1.2.3-70-g09d2