aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-02-25 17:03:17 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:07:28 +0200
commit0e5d7c10090a6391cb4dadc59b400c295006d6f2 (patch)
tree070891b31841ab72dc50b29363110e077c01ddca
downloadpkgbuilds-0e5d7c10090a6391cb4dadc59b400c295006d6f2.tar.xz
Renamed pms-youtube to mps-youtube
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD21
-rw-r--r--mps-youtube.install7
3 files changed, 49 insertions, 0 deletions
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 <johannes@kyriasis.com>
+
+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
+}