summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik2018-12-14 06:07:34 +0200
committerErik2018-12-14 06:14:15 +0200
commit66696a44d06dfa9607633e414abe177f4b05a640 (patch)
treed620cadd9eaac7c2723e0534bf896cf6f85a41de
downloadaur-66696a44d06dfa9607633e414abe177f4b05a640.tar.gz
Initial commit.
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d3e2d556610
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = mps-youtube-hd-git
+ pkgdesc = Terminal based YouTube jukebox, fork with HD video playback
+ pkgver = 0.2.8.r91.g8b09b3d
+ pkgrel = 1
+ url = https://github.com/th0rn/mps-youtube'
+ arch = any
+ license = GPL3
+ depends = python
+ depends = python-setuptools
+ depends = python-pafy-git
+ depends = mpv
+ optdepends = ffmpeg: for transcoding downloaded content
+ optdepends = python-pyperclip: for copying content to the clipboard
+ optdepends = python-gobject: MPRIS2 support
+ optdepends = python-dbus: MPRIS2 support
+ provides = mps-youtube
+ conflicts = mps-youtube
+ source = git+https://github.com/th0rne/mps-youtube.git
+ md5sums = SKIP
+
+pkgname = mps-youtube-hd-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3cba570f1e8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+pkgname=mps-youtube-hd-git
+pkgver=0.2.8.r91.g8b09b3d
+pkgrel=1
+
+pkgdesc="Terminal based YouTube jukebox, fork with HD video playback"
+url='https://github.com/th0rn/mps-youtube'
+arch=('any')
+license=('GPL3')
+
+depends=('python' 'python-setuptools' 'python-pafy' 'mpv')
+optdepends=('ffmpeg: for transcoding downloaded content'
+ 'python-pyperclip: for copying content to the clipboard'
+ 'python-gobject: MPRIS2 support'
+ 'python-dbus: MPRIS2 support')
+
+provides=('mps-youtube')
+conflicts=('mps-youtube')
+
+install=mps-youtube-hd-git.install
+source=('git+https://github.com/th0rn/mps-youtube.git')
+
+md5sums=('SKIP')
+
+pkgver() {
+ cd mps-youtube
+ git describe --tags --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ cd mps-youtube
+ python setup.py install --root="$pkgdir" --optimize=1
+}