aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-02-26 17:35:03 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-08 12:19:15 +0200
commitb4e8f3da58782396c6f907c1a699974e3ff0ce0d (patch)
tree4e2b69a736427bba8dbb82c1318d81871178ee21
downloadpkgbuilds-b4e8f3da58782396c6f907c1a699974e3ff0ce0d.tar.xz
np1-mps{,-git}: Added new packages.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD21
-rw-r--r--np1-mps.install9
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..ce4e752
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 13:54:09 UTC 2015
+pkgbase = np1-mps
+ pkgdesc = Terminal based YouTube jukebox with playlist management
+ pkgver = 0.20.02
+ pkgrel = 1
+ url = https://github.com/np1/mps
+ install = np1-mps.install
+ arch = any
+ license = GPL3
+ depends = python
+ optdepends = mpv: Alternative to mplayer for playback
+ optdepends = mplayer: Alternative to mpv for playback
+ source = https://github.com/np1/mps/archive/v0.20.02.tar.gz
+ source = np1-mps.install
+ md5sums = 32f7939c7b082f5867b874308b377eb8
+ md5sums = 26c08fc68ce960f1cc3a7f3f9157fa27
+
+pkgname = np1-mps
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..544e002
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+
+pkgname=np1-mps
+pkgver=0.20.02
+pkgrel=1
+pkgdesc="Terminal based YouTube jukebox with playlist management"
+arch=('any')
+url='https://github.com/np1/mps'
+license=('GPL3')
+depends=('python')
+optdepends=('mpv: Alternative to mplayer for playback'
+ 'mplayer: Alternative to mpv for playback')
+install=np1-mps.install
+source=("https://github.com/np1/mps/archive/v$pkgver.tar.gz" 'np1-mps.install')
+md5sums=('32f7939c7b082f5867b874308b377eb8'
+ '26c08fc68ce960f1cc3a7f3f9157fa27')
+
+package() {
+ cd mps-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
diff --git a/np1-mps.install b/np1-mps.install
new file mode 100644
index 0000000..cb5c5fc
--- /dev/null
+++ b/np1-mps.install
@@ -0,0 +1,9 @@
+post_install () {
+ printf "==> Remember to install either mpv or mplayer for playback support.\n"
+ printf "==> For mpv playback run these commands inside mps:\n"
+ printf "set player mpv\nset playerargs --really-quiet --no-video\n"
+}
+
+post_upgrade () {
+ post_install $1
+}